@winner-fed/vue-router-invoke-webpack-plugin

automatic generate your vue-router path and stronger normalize your file directory

Usage no npm install needed!

<script type="module">
  import winnerFedVueRouterInvokeWebpackPlugin from 'https://cdn.skypack.dev/@winner-fed/vue-router-invoke-webpack-plugin';
</script>

README

vue-router-invoke-webpack-plugin

详细用法说明见传送门

特性

  • 支持view同级路径下,添加静态文件,如.less,.css,.png等,详见源码 如下:
src
├── views
│   ├── Login
│   │   └── Index.vue
|   |   └── style.less
│   └── User
│       ├── Account
│       │   └── Index.vue
│       ├── Home
│       │   └── Index.vue
│       └── Index.vue