1.0.7 • Published 3 years ago

auto-vue-routes-plugin v1.0.7

Weekly downloads
8
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago