This boilerplate is targeted towards large, serious projects and assumes you are somewhat familiar with Webpack and vue-loader
. Make sure to also read vue-loader
's documentation for common workflow recipes.
If you just want to try out vue-loader
or whip out a quick prototype, use the webpack-simple template instead.
To use this template, scaffold a project with vue-cli. It is recommended to use npm 3+ for a more efficient dependency tree.
$ npm install -g vue-cli
$ vue init webpack my-project
$ cd my-project
$ npm install
$ npm run dev