Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork136
Deprecated! Framework7 Vue Webpack starter app template with hot-reload & css extraction
License
framework7io/framework7-template-vue-webpack
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repo is deprecated and not mainted any more. UseFramework7-CLI instead. Please, don't open new issues and don't send any PRs to this repository
A full-featured Framework7 Vue with Webpack setup with hot-reload & css extraction. Based onVue Webpack Boilerplate
git clone https://github.com/framework7io/framework7-template-vue-webpack my-appRepository will be downloaded intomy-app/ folder
Go to the downloaded repository folder and run:
npm installThis will download latest version of Framework7, Framework7-Vue, Vue and required icon fonts (to/src/fonts/)
npm run devApp will be opened in browser athttp://localhost:8080/
npm run buildThe output will be atwww/ folder
Cordova is not enabled by default, so make sure to remove the comment tags around the<script src="cordova.js"></script> line in [projectroot]/src/index.html
<body> <div></div> <!-- Cordova --> <script src="cordova.js"></script> <!-- built script files will be auto injected --></body>It will be added during the build process to Android/iOS.
Just put the contents ofwww folder in your cordova's project rootwww folder
git clone https://github.com/framework7io/framework7-template-vue-webpack my-app &&cd my-app &&npm install &&npm run dev# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for developmentnpm run build-dev# build for production with minificationnpm run build-prod
src/index.html- main app HTMLsrc/assets- folder with static assets (images)src/components- folder with custom.vuecomponentssrc/css- put custom app CSS styles here. Don't forget to import them inmain.jssrc/pages- app.vuepagessrc/app.js- main app file where you include/import all required libs and init appsrc/routes.js- app routessrc/app.vue- main app structure/component/static/- folder with extra static assets that will be copied into output folder
About
Deprecated! Framework7 Vue Webpack starter app template with hot-reload & css extraction
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.