Webpack loader for Vue.js components
Pull request Compare This branch is 742 commits ahead, 240 commits behind vuejs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
docs
lib
test
.babelrc
.eslintrc
.gitignore
LICENSE
README.md
appveyor.yml
circle.yml
index.js
package-lock.json
package.json

README.md

vue-loader Build Status Windows Build status npm package

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.