0.2.2 • Published 5 years ago
@w2wds/angular v0.2.2
@w2wds/angular
These are Angular specific building blocks on top of @w2wds/core components.
Using these components
Add this package to your project:
npm install @w2wds/angular --saveOr:
yarn add @w2wds/angularImport the Way2WebDesignSystemModule module in your app.module.ts:
import { Way2WebDesignSystemModule } from '@w2wds/angular';
@NgModule({
...
imports: [
Way2WebDesignSystemModule
],
...
})
export class AppModule {}Use the component(s) you want in your html:
<way-button href="https://www.way2web.nl">Way2Web</way-button>CodeSandbox example
An example of this setup: https://codesandbox.io/s/w2wds-angular-example-tvyud
How to release a new version
- Build the core package
- Update
src/component-library-module.ts.- You will need to import all of your components from
./directives/proxies. - Then update the
DECLARATIONSconst array to also list out all of the component names.
- You will need to import all of your components from
- Run build on this package
- Publish