@prizm-ui/install
v5.3.0
Published
Package installer @prizm-ui/* , Angular schematic ng-add
Downloads
154
Readme
@prizm-ui/install
This package contains schematics for install and update SDK components.
Getting starting
Default install
By default, you can install @prizm-ui/components
with Angular CLI command:
ng add @prizm-ui/install
Manual install packages
- Install components:
npm i @prizm-ui/core
npm i @prizm-ui/helpers
npm i @prizm-ui/components
- Install global styles:
angular.json:
{
"projects": {
"your-app": {
"architect": {
"build": {
"options": {
"styles": [
"src/styles.css",
"node_modules/@prizm-ui/components/src/styles/styles.less",
"node_modules/@prizm-ui/theme/src/styles/styles.less",
]
}
}
}
}
}
}
You can also use component LESS styles with import:
my-awesome-button.component.less
@import '~@prizm-ui/components/src/lib/button/button.component.less';
- Install icons styles (if you need):
angular.json:
{
"projects": {
"your-app": {
"architect": {
"build": {
"options": {
"styles": [
...your styles,
"node_modules/@prizm-ui/components/src/styles/icons/icons.less"
]
}
}
}
}
}
}
- Install fonts, icons assets:
angular.json
"assets": [
],
Contributing
This package provides schematic ng-add
Install dependencies npm i
Install globally Nx npm i -g nx