Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 553 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 553 Bytes

vue-router-nav

Minimalistic responsive navigation bar that renders routes of vue-router.

View the demo.

Dependencies

You need to have vue-router installed in order for vue-router-nav to work.

Install

npm install vue-router-nav --save

Usage

import RouterNav from 'vue-router-nav'

Vue.use(RouterNav)
<template>
  <div id="app">
    <router-nav/>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app'
}
</script>