How to use the framework7/framework7.esm.bundle.js.device function in framework7

To help you get started, we’ve selected a few framework7 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github phonegap / phonegap-template-vue-f7-split-panel / template / src / main.js View on Github external
// Import F7 Styles
import Framework7Styles from 'framework7/css/framework7.css';

// Import Icons and App Custom Styles
import IconsStyles from './css/icons.css';
import AppStyles from './css/app.css';

// Import Routes
import Routes from './routes.js';

// Import App Component
import App from './app';

// Set up some useful globals
window.isMaterial = !Framework7.device.ios;
window.isiOS = Framework7.device.ios;

// Init F7 Vue Plugin
Framework7.use(Framework7Vue);

// Init App
const baseApp = new Vue({
  el: '#app',
  template: '',
  // Register App Component
  components: {
    app: App
  }
});
github phonegap / phonegap-template-vue-f7-split-panel / template / src / main.js View on Github external
// Import F7 Styles
import Framework7Styles from 'framework7/css/framework7.css';

// Import Icons and App Custom Styles
import IconsStyles from './css/icons.css';
import AppStyles from './css/app.css';

// Import Routes
import Routes from './routes.js';

// Import App Component
import App from './app';

// Set up some useful globals
window.isMaterial = !Framework7.device.ios;
window.isiOS = Framework7.device.ios;

// Init F7 Vue Plugin
Framework7.use(Framework7Vue);

// Init App
const baseApp = new Vue({
  el: '#app',
  template: '',
  // Register App Component
  components: {
    app: App
  }
});