Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 924 Bytes

Framework7 Vue + Webpack App Template

Update Dependencies

A full-featured Framework7 + Vue + Webpack setup with hot-reload & css extraction. Based on Vue Webpack Boilerplate

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build vue and build apk 
npm run build-apk

# build serve cordova for android
npm run android

Project Structure

  • src/assets - folder with static assets (images)
  • src/components - folder with custom .vue components
  • src/css - put custom app CSS styles here. Don't forget to import them in main.js
  • src/pages - app .vue pages
  • src/main.js - main app file where you include/import all required libs and init app
  • src/routes.js - app routes
  • src/app.vue - main app structure/component