Skip to content

For Developers

Rigel Kent edited this page Feb 28, 2021 · 3 revisions

Development server

Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

To test Service Worker: Run npm run start-sw and navigate to http://localhost:4300/.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Further help

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

Setup IDEs

Extensions [Ctrl+Shift+x]

  • markdownlint
  • Prettier - Code formatter
  • TSLint
  • vscode-proto3
  • npm

Settings [Ctrl+,]

{
    "tslint.autoFixOnSave": true,
    "editor.formatOnPaste": false,
    "editor.formatOnSave": true
}

Extensions (mandatory)

  • language-markdown
  • linter
  • linter-node-markdownlint
  • prettier-atom
  • linter-tslint
  • language-typescript

If you have the atom-beautify extension installed, you have to disable beautification for markdown, CSS, SCSS and typescript, otherwise there will be conflicts.

Clone this wiki locally