How to run the template
All the scripts to start this angular template project are in the package.json file
Last updated
All the scripts to start this angular template project are in the package.json file
Last updated
Simply run:
npm run start
This will start ng serve
from the Angular CLI.
Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run:
npm run build:ssr && npm run serve:ssr
This compiles your application and starts a Node Express to serve your Universal application on http://localhost:4000.
Both builds make use of bundling, and the production command mentioned above uses the --prod
flag which also makes use of uglifying and tree-shaking functionality. To understand more about this commands please go to the package.json
file.
After the process is ready you will get notified in the console and then just open the browser to see the project running.