A full-featured Framework7 Vue with Webpack setup with hot-reload & css extraction. Based on Vue Webpack Boilerplate
Features :
- Jade Template
- Vuex state management
- Webpack hot-reload server
- Less, sass loaders
- i18n localization
git clone https://github.com/omarghader/Framework7-Vue-Jade-Webpack 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 /src/fonts/
)
npm run dev
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/omarghader/Framework7-Vue-Jade-Webpack 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 build
src/assets
- folder with static assets (images)src/components
- folder with custom.vue
componentssrc/css
- put custom app CSS styles here. Don't forget to import them inmain.js
src/pages
- app.vue
pagessrc/main.js
- main app file where you include/import all required libs and init appsrc/routes.js
- app routessrc/app.vue
- main app structure/component