@vusion/vue-loader
v14.2.1
Published
Vue single-file component loader for Webpack
Downloads
47
Readme
@vusion/vue-loader
This is a fork of vue-loader with some modifications for handling Vusion Components. Sync to [email protected]
Modifications
lib/loader.js
- Change
Object.defineProperty
toObject.assign
for__vueOptions__
- Add
midLoaders
option - Keep
cssModules
always exist - Delete
Component.options._Ctor
- Remove
_[index]
inquery.localIdentName
to make different<style>
tags in same situation
lib/normalize.js
- Change dep path
Others
- Forge AST when using server mode
Origins
vue-loader
Vue.js component loader for Webpack.
The best way to get started is with vue-cli:
npm install -g vue-cli
vue init webpack-simple hello
cd hello
npm install
npm run dev
This will setup a basic Webpack + vue-loader
project for you, with *.vue
files and hot-reloading working out of the box!
For advanced vue-loader
configuration, checkout the documentation.