DesignSystem
Versions
Angular Version | NPM Package Version |
---|---|
^16.1.4 | 16.1.14 |
15.0.4 | 15.0.6 |
13.2.3 | 13.0.22 |
< 13.0.0 | 0.0.77 |
Reference
Initial project reference: Ref
Getting Started
Install Prisma Components
npm i bootstrap popper.js @angular/material @mprisma/components --save
add to your angular.json
file the following:
...
"scripts": [
"node_modules/popper.js/dist/umd/popper.js",
"node_modules/bootstrap/dist/js/bootstrap.js",
...
],
...
Add to your base.scss
file the following:
@import '~@mprisma/components/src/styles/base';
// @import '~@mprisma/components/src/styles/icons/unicons/css/animation.css';
// @import '~@mprisma/components/src/styles/icons/unicons/css/line.css';
// @import '~@mprisma/components/src/styles/icons/unicons/css/before.css';
// @import '~@mprisma/components/src/styles/icons/prisma-cube/webfont.css';
Creating new components
scripts/create-component.sh -c <ComponentName>
it supports folders, like myfolder/inputs/ComponentName