Socket
Book a DemoInstallSign in
Socket

nuxt7

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt7

npmnpm
Version
2.0.1
Version published
Weekly downloads
110
197.3%
Maintainers
1
Weekly downloads
 
Created
Source

Nuxt7

Full Featured iOS & Android PWA Apps with Nuxt.js and Framework7

Nuxt7 integrates universal nuxt.js applications with Framework7-Vue to rapidly create efficient and feature-reach PWA mobile applications with help of pwa-module. Production builds can be statically hosted or running offline.

📖 Release Notes

✨ Features

  • Fully compatible with framework7 2.x
  • Development mode with hot reloading
  • Optimized production builds suitable for 100% static hosting
  • Fully PWA compatible out of the box
  • Page based router for Framework7
  • Use vuex store in your apps
  • Familiar nuxt.js development experience with a super easy learning curve

⚔️ Quick Start

Use the command below to create a new app using starter template:

> npx sao nuxt-community/nuxt7 nuxt7-app

▶️ Examples

To locally run each example:

  • Clone this repository
  • Install dependencies using yarn install
  • Run examples in development mode using yarn examples/[example name]
  • Navigate to http://localhost:3000

🔧 Module options

Add options in framework7 section inside nuxt.config.js file.

OptionTypeDefaultDescription
cssBooleantrueInclude Framework7 styles (Useful to disable and provide your own)
rtlBooleanfalseEnable RTL layout
f7IconsBooleantrueInclude Framework7 Icons (IOS)
mdIconsBooleantrueInclude MD Icons
pwaBooleantrueEnable @nuxtjs/pwa module
routesObjecttrueRoute overrides (see below)
modeStringhashRouter mode. Can be hash or history
viewObjectdefaultsOptions passed to root view of framework7
buildObjectframework7 defaultsFramework7 build config used for customizing less variables
themeColorStringundefinedIf specified, automatically sets all global theme colors to this value

routes override

Routes are auto generated using pages directory structure. However if you need to make more customization (Like adding routable tabs) this option may be used.

Example: (nuxt.config.js)

framework7: {
    routes: {
      'tabs-routable': {
        tabs: [
          { path: "/", id: "tab1" },
          { path: "/tab2/", id: "tab2" },
          { path: "/tab3/", id: "tab3" },
        ]
      }
    }
}

🍳 Development

# Fork and clone git@github.com:nuxt-community/nuxt7.git

# Install dependencies
yarn install

# Start development server (kitchen sink)
yarn dev

License

MIT - Nuxt Community - Pooya Parsa

FAQs

Package last updated on 12 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts