Angular Admin Template
More TemplatesAngular TutorialsMobile App Templates
  • Angular Admin Template
  • Set up the Development Environment
  • How to run the template
  • Development Workflow + Performance Optimizations
  • Server Side Rendering
  • Project Structure
  • Features
    • Angular Charts
    • Angular Forms
    • Angular Tables
    • Layouts
    • Utils
  • Theming
  • Changelog
  • Known issues
Powered by GitBook
On this page
  • To run the project in development mode
  • To run the project in production mode

Was this helpful?

How to run the template

All the scripts to start this angular template project are in the package.json file

PreviousSet up the Development EnvironmentNextDevelopment Workflow + Performance Optimizations

Last updated 5 years ago

Was this helpful?

To run the project in development mode

Simply run:

npm run start

This will start ng serve from the Angular CLI.

Navigate to . The app will automatically reload if you change any of the source files.

To run the project in production mode

Run:

npm run build:ssr && npm run serve:ssr

This compiles your application and starts a Node Express to serve your Universal application on .

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.

​

http://localhost:4200/
http://localhost:4000