OffCanvas
OffCanvas (Sidenav/Drawer) component for Vue.js
Create a smooth off-canvas sidebar that slides in and out of the page.
Live examples & Docs
https://wovue.github.io/off-canvas
Features
- a11y friendly.
- Support multiples OffCanvas.
- You can optionallity push your content when the OffCanvas is open.
Getting Started
Install the package using npm
$ npm install wovue-off-canvas --save
Install the plugin
Vue
Note only with webpack
you can import CSS
in javascript.
Basic Usage
<!-- off-canvas content --> <!-- content to push --> Toggle menu
Development
# install dependenciesnpm install# serve with hot reload src-docs at localhost:8080npm run dev# build for production with minification src-docs and srcnpm run build# copy docs folder to gh-pages branch and pushnpm run deploy-docs