wam-component-library
v0.4.1
Published
This library is included as a dependency in the Shell project.
Readme
Component Library
This library is included as a dependency in the Shell project.
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 --project=component-library --style=scss to generate a new component (together with template and style files).
Steps to build and deploy
ALWAYS update the version BEFORE you commit.
While you're in the projects/component-library project folder, run npm version <major/minor/patch> to update version.
While you're in the root folder (first component-library/ folder) run npm run build:library.
While you're in the dist/component-library folder run npm publish to publish the changes.
The build artifacts will be stored in the dist/component-library directory.
