Share Angular Element in Show me the code meetup on August 3, 2018
Reading Time: < 1 minute Slide: Build customer element with Angular 6 (version 2) Repo: Source Code
Software architect. Web Development, build apps with Angular, TypeScript, JavaScript, and NestJS
Reading Time: < 1 minute Slide: Build customer element with Angular 6 (version 2) Repo: Source Code
Reading Time: < 1 minute Slide: Build custom element with Angular Repos: Angular Version: Source Code Vue Version: Source Code Demos: Static website Time converter in Vue
Reading Time: 2 minutes 1) Create Angular Project ng new <project name> –prefix custom –style=scss –skip-tests 2) Use schematics to add angular element support ng add @angular/elements 3) Use angular-cli to generate new component and specify encapsulation is ViewEncapsulation.Native 4) REmove the document-create-element polyfill from script array. 5) Install custom-lements polyfill, “@webcomponents/custom-elements” yarn add @webcomponents/custom-elements 6) Update polyfills.ts to … Read more