A simple template to get started with VueJS + Framework7 + Webpack.
This template only works for Vue 2.0. Older versions like Vue 1.x are not supported!
This is a project template for vue-cli.
Replace my-project with the name of your project!
$ npm install -g vue-cli
$ vue init valnub/vue-framework7-webpack-template my-project
$ cd my-project
$ npm install
$ npm run dev
npm run dev
: Webpack +vue-loader
with proper config for source maps & hot-reload.npm run build
: build with HTML/CSS/JS minification.- Ready-to-use Framework7 plugin and example code
For detailed explanation on how things work:
- Check out my video screencast.
- Consult the docs for vue-loader.
- Also check out the breaking changes in vue-loader@9.0.0.
If you get "undefined" in your GUI after starting the app, cd to your project folder and do this:
- cd node_modules/framework7-vue
- npm install
- gulp dist
On my blog http://www.timo-ernst.net