@thescaffold/ngx-flags
v0.2.32
Published
- Browser - Node.js (Javascript/Typescript)
Readme
Scaffold
JSX Flags NG
Introduction
Supported Platforms
- Browser
- Node.js (Javascript/Typescript)
Installation
- NPM
$ pnpm add @thescaffold/ngx-flagsUsage & API
- Import Module
import { EventModule } from '@thescaffold/ngx-flags'
imports:[
...
EventModule.register({
// config
}),
...
]- Import Service
import { EventService } from '@thescaffold/ngx-flags'
...
private readonly eventService = inject(EventService);
OR
constructor(
private readonly eventService: EventService,
){}
...Build
Run ng build flags to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build flags, go to the dist folder cd dist/flags and run pnpm publish.
Running unit tests
Run ng test flags to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
