vue-async-loader
Install
$ yarn add vue-async-loader --dev
Usage
// webpack.config.jsconst path = moduleexports = input: './index.js' output: path: path filename: 'bundle.js' modules: rules: test: /\.js|vue$/ exclude: /node_modules/ enforce: 'pre' use: loader: 'vue-async-loader' options: dirs: path
API
vue-async-loader
options
dirs
Type: string
|array
|RegExp
Default: *
use to choose which dir is be translate sync to async component
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
vue-async-loader © zhoupengcheng, Released under the MIT License.
Authored and maintained by zhoupengcheng with help from contributors (list).
pocho1995.me · GitHub @Pochodaydayup