You can see the demo right here.
This is not a library to be used in your project.
You guys can't use it as a ready-to-use dependency in your project.
This is just a little concept of collapsible sidebar menu developed using Vanilla JS, HTML5 and CSS3 for studying purposes.
If you want to add it into your project, you should check the source code (for inspiration) and code it in your project. A copy and paste is valid too, but you'll probably need to change some stuff.
It's pretty easy:
- Type
$ npm install
or$ yarn install
to install the dependencies - Type
$ npm run build
or$ yarn build
to generate the/dist
folder (just to guarantee, since it is versioned) - Type
$ npm run demo
or$ yarn demo
to start a local server with the demo
If you think that something can be improved, feel free to make your pull request. Code refactors, bug fixes, improvements and almost anything are welcome. :)