🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Angular Slim Scroll is a directive with angular closure compiler.

Plugins

Documentation

Angular4 Universal Webpack Seed


Angular Webpack Seed and built-in express server with server side prerendering using renderModuleFactory().

It uses @ngtools/webpack lib which provides full AoT support, also incremential builds for development purposes.

This seed also includes SASS/SCSS support.

Development

Run Client & Browser side build in parallel

npm run dev

Run Client & Browser side build in parallel (AoT) mode

npm run dev:aot

Run watcher on server

npm run watch

Start development client side builds and webpack-dev-server using JiT

npm start

Development builds with AoT

npm run start:aot

Server Side builds

npm run build:server

Server Side builds (AoT)

npm run build:server:prod

Watch Mode

npm run dev # wait to finish  npm run watch # watch on ./dist/server.js

Watch Mode (AoT)

npm run dev:aot # wait to finish  npm run watch # watch on ./dist/server.js

Production

Build both client and server side bundles and get ready for production (AoT)

npm run build:prod

Start the server

npm run server # or node ./dist/server.js

Tests

Running End-to-End tests

npm run e2e

Unit tests

npm test

Licence

MIT


You May Also Like