Angular on Netlify Quick Start Template

netlify + angular logo

This is a bare-bones Angular project that has everything you need to quickly deploy it to Netlify.

Click this button and it will help you create a new repo, create a new Netlify project, and deploy!

Deploy to Netlify Button

Table of Contents:

Setup

Clone this repo with one of these options:

  • Click the 'Deploy to Netlify' button above
  • Click the 'Use this template' button at the top of the page
  • Or via the command line git clone https://github.com/netlify-templates/dev-center

Then install the necessary packages and run the project locally to make sure everything works.

npm install
ng serve

Alternatively, you can run this locally with the Netlify CLI's netlify dev command for more options like receiving a live preview to share (netlify dev --live) and the ability to test Netlify Functions and redirects.

🚨 If you decide to change the project name be sure to change it everywhere in the project including the Netlify configuration file, netlify.toml, as there are many places in Angular projects where the project name is used. A quick fix is to find/replace all instances of dev-center with your project name.

Deploying

There are a few ways to deploy this template:

  • Click the 'Deploy to Netlify' button above
  • Use the netlify deploy command
  • Head to the Netlify UI to deploy via GitHub or drag and drop the project folder
  • Use the Netlify CLI's create from template command netlify sites:create-template dev-center which will create a repo, Netlify project, and deploy it

Testing

Included Default Testing

We’ve included some tooling that helps us maintain these templates. This template currently uses:

  • Renovate - to regularly update our dependencies

If your team is not interested in this tooling, you can remove them with ease!

Removing Renovate

In order to keep our project up-to-date with dependencies we use a tool called Renovate. If you’re not interested in this tooling, delete the renovate.json file and commit that onto your main branch.

Angular + Netlify Resources

Here are some resources to help you on your Angular + Netlify coding fun!

Hope this template helps :) Happy coding 👩🏻‍💻!


This project was generated with Angular CLI version 13.2.5.