This repo is deprecated and not mainted any more. Use Framework7-CLI instead. Please, don't open new issues and don't send any PRs to this repository
Framework7 Vue with Browserify starter app template with hot-reload & css extraction. Based on Vue Browserify Boilerplate
git clone https://github.com/framework7io/framework7-template-vue-browserify my-app
Repository will be downloaded into my-app/ folder
Go to the downloaded repository folder and run:
npm install
This will download latest version of Framework7, Framework7-Vue, Vue and required icon fonts (to /www/fonts/)
npm run serve
App will be opened in browser at http://localhost:8080/
npm run build
The output will be at www/ folder
Just put the contents of www folder in your cordova's project root www folder
git clone https://github.com/framework7io/framework7-template-vue-browserify my-app &&
cd my-app &&
npm install &&
npm run dev
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run buildsrc/components- folder with custom.vuecomponentssrc/pages- app.vuepagessrc/main.js- main app file where you include/import all required libs and init appsrc/routes.js- app routessrc/app.vue- main app structure/componentwww/css- app styles, put custom app CSS styles here as wellwww/css/build.css- Vue components styles will be extracted here onnpm run build