New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@arva/nglib-sidenav

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arva/nglib-sidenav

Sidenav Component to use with Angular Material.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

NglibSidenav

Sidenav Component to use with Angular Material.

CSS Styles

The (S)CSS styles are not implemented in the component.

Styles of often used components or libraries should be imported in the App-wide SCSS style file. With this technic the styles are combined in one *.css file and can be served from a CDN. Otherwise the styles would be added inline to the JavaScript code or in case of SSR in the HTML Code, which results in very large initial index.html files.

Import the Styles

Add this line to your .\src\styles.scss

@import '~@arva/nglib-sidenav/theming';

Building the library

Remeber to copy the _theming.scss file.

Run this command to build the library and copy the theming.scss file:

npm run ng build @arva/nglib-sidenav && cp ./projects/arva/nglib-sidenav/_theming.scss ./dist/arva/nglib-sidenav

On Windows use backslashes:

cp .\projects\arva\nglib-sidenav\_theming.scss .\dist\arva\nglib-sidenav

FAQs

Package last updated on 07 Jul 2019

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