0.0.3 • Published 6 years ago
nuxt-navi v0.0.3
Nuxt Navi
Nuxt.js module for building an Array of navigation routes
Overview
This modules takes a YAML file that sets an array of routes and then adds it to the Store.
The only required property for each route is title. For each route, if no path property is set then nuxt-navi
automically slugifies that title.
Setup
Add
nuxt-navidependency to your projectyarn add nuxt-navi # or npm install nuxt-naviAdd
nuxt-navito thebuildModulessection ofnuxt.config.jsif you are using Nuxt v2.9 or later. Otherwise, use themodulessection.{ modules: [ // Simple usage "nuxt-navi", // With options [ "nuxt-navi", { /* module options */ } ] ]; }
Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) David Royer droyer01@gmail.com