/angular-example

Repo for sharing best practices and creating reproductions for Angular bug reports

Primary LanguageTypeScriptOtherNOASSERTION

DevIntent Angular Example

This is an example repo for sharing some best practices and creating public reproductions for Angular bug reports.

Coding Guidelines

Required tools

  • Node.js LTS w/ NPM 5+
  • Firebase CLI - npm install -g firebase-tools

Get Your Local Environment setup

  • git clone <repo>
  • cd angular-example
  • npm install
  • npm start will start a server locally
  • npm test to run the tests

Deploy The App to Production (Admins only)

  • Generate minimized production build - npm run build-prod
  • firebase login
  • npm run deploy-prod

Test Service Worker

  • Generate minimized production build - npm run build-prod
  • Start up a http-server to test the Service Worker - npm run start-sw
  • Check in Chrome DevTools
    • Application Tab -> Service Workers
    • You should see a Service Worker registered under 127.0.0.1