|
1 week ago | |
---|---|---|
.vscode | 1 week ago | |
e2e | 1 week ago | |
src | 1 week ago | |
.browserslistrc | 1 week ago | |
.editorconfig | 1 week ago | |
.gitignore | 1 week ago | |
.npmrc | 1 week ago | |
.nvmrc | 1 week ago | |
.prettierignore | 1 week ago | |
CHANGELOG.md | 1 week ago | |
README.md | 1 week ago | |
angular.json | 1 week ago | |
karma.conf.js | 1 week ago | |
package.json | 1 week ago | |
tsconfig.app.json | 1 week ago | |
tsconfig.json | 1 week ago | |
tsconfig.spec.json | 1 week ago | |
tslint.json | 1 week ago | |
yarn.lock | 1 week ago |
This project was generated with Angular CLI version 11.2.1.
app
.app/components
.app/<module_name>
.app/<module_name>/components
or app/<module_name>/services
, for example.nvm use
yarn install
yarn exec ng serve
or yarn run start
for a dev server.http://localhost:4200/
. The app will automatically reload if you change any of the source files.⚠ Generally, yarn exec
should be OK. If passing flags (such as --routing
in the case of ng generate module
), yarn exec
blows. Use npx
.
Update the changelog and commit it in with the expected version and date of release added in.
Then, use yarn version
as follows:
yarn version --minor --message "chore: release %s"
%s
refers to the version that will be committed and tagged. Pick from --major
, --minor
, --patch
, and --new-version
to automate or specify a particular version.
Run yarn exec ng generate component component-name
to generate a new component. You can also use yarn exec ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run yarn exec 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 yarn exec ng test
to execute the unit tests via Karma.
Run yarn exec ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use yarn exec ng help
or go check out the Angular CLI Overview and Command Reference page.