eg-component-library

This project was generated with Angular CLI version 11.0.7.

Usage no npm install needed!

<script type="module">
  import egComponentLibrary from 'https://cdn.skypack.dev/eg-component-library';
</script>

README

EgComponents

This project was generated with Angular CLI version 11.0.7.

Code scaffolding

Run ng generate component component-name --skipTests=true --skip-import to generate a new component in projects/eg-component-library. Add a <component>.module.ts to the new component to handle imports and exports. Add the newly created component and module to public-api.ts if it's meant to be exposed by the package.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build, go to the dist folder cd dist/eg-component-library and run npm publish.