Skip to content

redwoodconsulting-io/netlify-angular

Repository files navigation

NetlifyAngular

NetlifyAngular is:

Quick start

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.

Deploy to Netlify

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!

Development

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:

See "Angular framework README" below for more information on developing an Angular application.

Netlify configuration

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.

FontAwesome icon configuration

angular-fontawesome icons are configured in app.module.ts.

In a more complex app, you might do this in a helper somewhere.

Angular framework README

This project was generated with Angular CLI version 7.3.1.

Development server

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.

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. Use the --prod flag for a production build.

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 Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Netlify template: Angular7 styled with Material-Design-Bootstrap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published