1.0.7 • Published 4 years ago

auto-vue-routes-plugin v1.0.7

Weekly downloads
8
License
ISC
Repository
github
Last release
4 years ago

auto-vue-routes-plugin

webpack插件,用于根据vue视图文件自动生成路由配置文件。

使用

 const AutoVueRoutesPlugin = require('auto-vue-routes-plugin');

 module.exports = {
   plugins: [
     // 实例
     new AutoVueRoutesPlugin({
       entry: path.resolve(__dirname, '../src/pages/'), //监听的视图文件夹
       output: path.resolve(__dirname, '../src/routes/index.js') //输出的路由配置文件
     })
   ]
 }
 
1.0.7

4 years ago

1.0.6

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago