Vue Component Menu
Simple, response and beautiful Vue menu component
Install
npm install vue-component-menu --save-dev
Usage
Template tag
<!-- You need create `el:wapper` to open and close menu --> <!-- Container of header and menu --> <!-- Component Menu --> <!-- Your Header --> Vue menu component This is a test!
Script tag
; { return links: name: 'Home' link: '/home' name: 'Blog' link: '/blog' name: 'Github' link: '/github' name: 'Contact' link: '/contact' name: 'About' link: '/about' } components: ComponentMenu
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build