notiz-dev / notiz

Frontend for notiz.dev. Built with Angular and Scully 👋
https://notiz.dev
67 stars 9 forks source link

Angular Elements: Create a Component Library for Angular and the Web #152

Closed utterances-bot closed 3 years ago

utterances-bot commented 3 years ago

Angular Elements: Create a Component Library for Angular and the Web

Publish Angular components and Custom Elements from a single project! Using the Angular CLI.

https://notiz.dev/blog/create-a-component-library-for-angular-and-the-web

bncunha commented 3 years ago

Hello! Great Article. But what is "cat", in pakcage.json pack:elements?

garygrossgarten commented 3 years ago

Hey, I use cat to concatenate the angular output files (runtime, polyfills and main) into a single elements.js file. Makes it easier to import but is by no means necessary. You can use the individual files if you want to.

more about cat

NicolasRoehm commented 3 years ago

Hi Gary, thank you for sharing this very nice article !