Generating an Angular Web Component

Image by sandid from Pixabay

Scenario

Approach

ng g c fs-gist --inline-style --inline-template -v ShadowDom
fs-gist.component.ts
import { Component, OnInit, ViewEncapsulation } from '@angular/core';@Component({
selector: 'fs-gist',
template: `<p>fs-gist works!</p>`,
styles: [],
encapsulation: ViewEncapsulation.ShadowDom
})
export class FsGistComponent implements OnInit {
constructor() { }
ngOnInit(): void {}
}

Related

Founder of Firefly Semantics Corporation