vue-loader
Vue.js component loader for Webpack.
NOTE: the master branch now hosts 9.x which only works with Vue 2.0. For version 8.x which works with Vue 1.x, see the 8.x branch.
It allows you to write your components in this format:
The best way to get started is with vue-cli:
npm install -g vue-clivue init webpack-simple hellocd hellonpm installnpm 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.