NetlifyAngular is:
- a Netlify project template for:
- an Angular app,
- styled with Material Design + Bootstrap
- with the MD-Bootstrap-Angular framework
- with angular-fontawesome support
Click this button to clone this repo into your own, and set up a Netlify deployment under your account. If you've already cloned the repo, or prefer to set up the deployment manually, go to the netlify app to create a new github connection.
Once your app is set up and running, go to your domain:
http://<your-netlify-hostname>.netlify.com
and you'll see your live Angular application!
This assumes that your Node version is compatible with Angular7: 8.x or 10.x (as of 2019-02-22)
After cloning the repo:
- install dependencies:
npm install
When that's done:
- serve angular app:
ng serve
(starts on localhost:4200)
See "Angular framework README" below for more information on developing an Angular application.
netlify.toml sets the build output folder dist/netlify-angular
. When running a netlify production build we pass the --prod
flag to the angular builder for an optimized build.
angular-fontawesome icons are configured in app.module.ts.
In a more complex app, you might do this in a helper somewhere.
This project was generated with Angular CLI version 7.3.1.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.