@tercosmicqueen
Declaration
Composability
Reusability
Maintainability
Extensibility
Scoping
Interoperability
Productivity
Accessibility
@carlos_acns
ng new kitchen
npm i @angular/elements
npm i @webcomponents/custom-elements
import '@webcomponents/custom-elements/src/native-shim';
import '@webcomponents/custom-elements/custom-elements.min';
pollyfills.ts
ng generate component kitchen-picture
--inline-style --inline-template --skip-tests
--view-encapsulation Native
ng build --prod --output-hashing=none && cat dist/{runtime,polyfills,scripts,main}.js | gzip > elements.js.gz
Compile: