@arva/nglib-sidenav
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @arva/nglib-sidenav

Weekly Downloads

0

Version

1.0.0

License

UNLICENSED

Unpacked Size

51 kB

Total Files

24

Last publish

Collaborators

  • ma-sim