1.0.0 • Published 5 years ago
gasc v1.0.0
GASC - Generate Angular SVG Component
This is a commandline tool which generates an Angular component from a SVG source file
Install
Install from npm as package gasc
yarn global add gasc
npm install -g gasc
volta install gascUsage
gasc --input smiley.svgThis will generate this file structure:
smiley/
smiley.component.svg
smiley.component.tsParameters
| Parameter | Description | Required | Default Value |
|---|---|---|---|
| --input | path to a SVG file. Wildcards aren't supported | x | - |
| --output | path to the output directory | working directoy | |
| --selectorPrefix | the used selector prefix in your apps templates | app |
1.0.0
5 years ago