Run npm run start:dev
for a dev live-reload server. The app will automatically reload if you change any of the source files.
Run npm run start:hmr
for a dev hmr server. This will enable hot module reloading.
Run npm run start:aot
for a dev aot server. Ahead of time compilation.
Run npm run start:prod
for a prod server. Production code dev server. Not to be used as production server as it has not been tested for security.
Navigate to http://localhost:4200/
.
Run npm run build:dev
to build the dev project.
Run npm run build:prod
to build the dev project.
The build artifacts will be stored in the dist/
directory.