@which-route/nuxt-router-reader
nuxt-router-reader
Last updated a year ago by tangruijia .
MIT · Original npm · Tarball · package.json
$ cnpm install @which-route/nuxt-router-reader 
SYNC missed versions from official npm registry.

@which-route/nuxt-router-reader

Read a nuxt program's router

install

yarn add @which-route/nuxt-router-reader

usage

const path = require('path')
const nuxtRouterReader = require('@which-route/nuxt-router-reader')
const dir = __dirname
const res = nuxtRouterReader(dir, path.join('src', 'pages'))

console.log(require('util').inspect(res, { depth: null }))

Current Tags

  • 0.1.6                                ...           latest (a year ago)

4 Versions

  • 0.1.6                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |