angular-skeleton-app
angular-skeleton-app copied to clipboard
Angular 10.x navigation skeleton project with styling which get you started faster.
Angular Skeleton App
Angular 16.x navigation skeleton project with styling which get you started faster.
What does it have?
- Angular CLI 16.x template
- SCSS for styling
- Font Awesome and Bootstrap 4.x (no javascript, just styles)
- Navigation/layout
- Theming
- Linting/formatting - prettier, eslint, stylelint
- Circle CI 2 integration
todo
- docker image
regenerate
-
ng new angular-skeleton-app --routing --style=scss
-
ng lint
(to setup) -
ng add @angular/pwa
-
ng add @nguniversal/express-engine
- https://angular.io/guide/universal -
npm run lint -- --fix
See https://ng-add.web.app/ for more
Getting Started
- Node version compat list https://stackoverflow.com/questions/60248452/is-there-a-compatibility-list-for-angular-angular-cli-and-node-js
Start developing
Run npm start
to start developing.
Build and run production
Run npm run start:prod
build and run for production.
Angular CLI
This project was generated with Angular CLI version 16.1.0.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.