0.2.0 • Published 7 years ago

vision-vue-loader v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

vision-vue-loader

This is a fork of vue-loader with some modifications for handling Vision Components.

Modifications

  • Removed _[index] in query.localIdentName to make different <style> tags in same situation;
  • Add babelOptions;
  • Add import-global-loader;
  • Add style insert by id;

Origins

vue-loader

Vue.js component loader for Webpack.

NOTE: the master branch (9.0+) only works with Vue 2.x. For usage with Vue 1.x, see the 8.x branch.

It allows you to write your components in this format:

screenshot

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.