Development Workflow
Starting Development Server
# For Unix/Linux/Mac
npm start
# For Windows
npm run startWindows
The app will automatically reload when you make changes to source files.
Code Scaffolding
Generate new components, services, etc. using Angular CLI:
# Generate a new component
ng generate component components/new-component
# Generate a new service
ng generate service services/new-service
# Generate a new module
ng generate module modules/new-module
# Generate a new pipe
ng generate pipe pipes/new-pipe
# Generate a new directive
ng generate directive directives/new-directive
Linting
Check code quality and style:
npm run lint
Building for Production
npm run build
Build artifacts will be stored in the dist/ directory.