Socket
Book a DemoInstallSign in
Socket

@prizm-ui/install

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prizm-ui/install

Package installer @prizm-ui/* , Angular schematic ng-add

latest
npmnpm
Version
5.3.2
Version published
Maintainers
0
Created
Source

@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

FAQs

Package last updated on 28 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts