Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

LoukaOctave/eventplanner-providit

Repository files navigation

F7Cordova

Framework7 CLI Options

Framework7 app created with following options:

{
  "cwd": "C:\\dev\\webmobile\\f7cordova",
  "type": [
    "cordova"
  ],
  "name": "F7Cordova",
  "framework": "core",
  "template": "tabs",
  "bundler": false,
  "cssPreProcessor": false,
  "theming": {
    "customColor": false,
    "color": "#007aff",
    "darkTheme": true,
    "iconFonts": true,
    "fillBars": true
  },
  "customBuild": false,
  "pkg": "be.mikadebelder.F7Cordova",
  "cordova": {
    "folder": "cordova",
    "platforms": [
      "android"
    ],
    "plugins": [
      "cordova-plugin-statusbar",
      "cordova-plugin-keyboard",
      "cordova-plugin-splashscreen",
      "cordova-plugin-wkwebview-file-xhr"
    ]
  }
}

NPM Scripts

  • 🔥 start - run development server
  • 🔧 serve - run development server
  • 📱 build-cordova - build cordova app

Cordova

Cordova project located in cordova folder. You shouldn't modify content of cordova/www folder. Its content will be correctly generated when you call npm run cordova-build-prod.

Assets

Assets (icons, splash screens) source images located in assets-src folder. To generate your own icons and splash screen images, you will need to replace all assets in this directory with your own images (pay attention to image size and format), and run the following command in the project directory:

framework7 generate-assets

Or launch UI where you will be able to change icons and splash screens:

framework7 generate-assets --ui

Documentation & Resources

Support Framework7

Love Framework7? Support project by donating or pledging on patreon: https://patreon.com/vladimirkharlampidi