elwins-test-web-components-angular

Angular specific wrapper for my test Web Components library

Usage no npm install needed!

<script type="module">
  import elwinsTestWebComponentsAngular from 'https://cdn.skypack.dev/elwins-test-web-components-angular';
</script>

README

Built With Stencil

Elwins Test Web Components for Angular

These are my test Web Components specifically build for Angular.

Using these components

Add this package to your project:

npm install elwins-test-web-components-angular --save

Or:

yarn add elwins-test-web-components-angular

Import the ElwinsTestWebComponentsModule module in your app.module.ts:

import { ElwinsTestWebComponentsModule } from 'elwins-test-web-components-angular';

@NgModule({
  ...
  imports: [
    ElwinsTestWebComponentsModule
  ],
  ...
})
export class AppModule {}

Use the component(s) you want in your html:

<eve-button href="https://elwinvaneede.com">Website</eve-button>

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 DECLARATIONS const array to also list out all of the component names.
  • Run build on this package
  • Publish