All Projects β†’ nuxt-community β†’ Nuxt7

nuxt-community / Nuxt7

Licence: mit
πŸ“± Full Featured iOS & Android PWA Apps with Nuxt.js and Framework7

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Nuxt7

Hoppscotch
πŸ‘½ Open source API development ecosystem https://hoppscotch.io
Stars: ✭ 34,569 (+12158.51%)
Mutual labels:  nuxt, nuxtjs, pwa
Pwa Module
Zero config PWA solution for Nuxt.js
Stars: ✭ 1,033 (+266.31%)
Mutual labels:  nuxt, nuxtjs, pwa
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (-80.85%)
Mutual labels:  nuxt, nuxtjs, pwa
nuxt-feature-toggle
The nuxt feature toggle module
Stars: ✭ 78 (-72.34%)
Mutual labels:  nuxt, nuxtjs
isnuxt3ready
A community-built compatibility guide for Nuxt 3 modules
Stars: ✭ 106 (-62.41%)
Mutual labels:  nuxt, nuxtjs
jooger.me
πŸ‘ My personal website,powered by @nuxt
Stars: ✭ 39 (-86.17%)
Mutual labels:  nuxt, nuxtjs
separate-env-module
Tear your variables apart!
Stars: ✭ 53 (-81.21%)
Mutual labels:  nuxt, nuxtjs
global-components
Module to register global components for Nuxt.js
Stars: ✭ 57 (-79.79%)
Mutual labels:  nuxt, nuxtjs
nuxt-blog
A Nuxt.js server side rendered blog app
Stars: ✭ 59 (-79.08%)
Mutual labels:  pwa, nuxtjs
Nuxt Ssr Firebase
Nuxt.js Universal App with SSR via Firebase Functions and Firebase Hosting
Stars: ✭ 273 (-3.19%)
Mutual labels:  nuxt, nuxtjs
nuxt wp
Repo for my blog series on a building a site with WordPress REST API, Vue, and Nuxt.js
Stars: ✭ 41 (-85.46%)
Mutual labels:  nuxt, nuxtjs
task-manager
Open-source task manager based on Kanban. Made with vue.js, koa2, mongodb\mongoose.
Stars: ✭ 23 (-91.84%)
Mutual labels:  nuxt, nuxtjs
hackaru-web
An web server for Hackaru
Stars: ✭ 20 (-92.91%)
Mutual labels:  pwa, nuxt
nuxt-babel
Use normal .babelrc file with your Nuxt app
Stars: ✭ 32 (-88.65%)
Mutual labels:  nuxt, nuxtjs
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (-63.48%)
Mutual labels:  pwa, nuxt
nuxt-mobile-detect
Nuxt mobile and device detection plugin for client side and SSR
Stars: ✭ 24 (-91.49%)
Mutual labels:  nuxt, nuxtjs
nuxt-blog
πŸ“ Personal blog built with Nuxt.js and wordpress rest api
Stars: ✭ 13 (-95.39%)
Mutual labels:  nuxt, nuxtjs
test-utils
Test utilities for Nuxt.js
Stars: ✭ 100 (-64.54%)
Mutual labels:  nuxt, nuxtjs
Nuxt Webfontloader
Efficient web font loading has never been easier!
Stars: ✭ 264 (-6.38%)
Mutual labels:  nuxt, nuxtjs
admin-one-nuxt
Admin One Nuxt - Nuxt.js Bulma Buefy admin dashboard
Stars: ✭ 23 (-91.84%)
Mutual labels:  nuxt, nuxtjs

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 5.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 [email protected] -u 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.

app

  • Type: Object

Default:

app: {
  theme: 'auto'
}

Framework7 constructor params. See App Component and App Docs for all available parameters.

main

  • Type: Object

Default:

main: {
    main: true,
    pushState: true
}

Props passed to the main <f7-view>. See View Component docs for more info.

mode

  • Type: String
  • Default: history

Router mode. Can be hash or history.

The history mode enables SEO friendly routes by setting main.pushStateSeparator value to ''.

invertNav

  • Type: boolean
  • Default: true

Invert navigation bars to fill style.

disableContextMenu

  • Type: boolean
  • Default: true

Disable context menu with long touch. (Recommanded to enable disableSelect too)

disableSelect

  • Type: boolean
  • Default: true

Disable selection/copy in UIWebView. (Useful to use with disableContextMenu)

rtl

  • Type: boolean
  • Default: false

Enable RTL Layout.

themeColor

  • Type: string
  • Default: #007aff (Dodger Blue)

Primary app color.

themes

  • Type: array
  • Default: `['ios', 'md']

darkTheme

  • Type: boolean
  • Default: true

Enable darkTheme support.

lightTheme

  • Type: boolean
  • Default: true

Enable lightTheme support.

colors

App colors.

components

Enabled components. (only used for .less imports)

css

  • Type: Boolean
  • Default: true

Include Framework7 styles.

customCSS

  • Type: Boolean
  • Default: true

Include Nuxt7 custom styles.

f7Icons

  • Type: Boolean
  • Default: true

nclude Framework7 Icons (IOS).

mdIcons

  • Type: Boolean
  • Default: true

Include MD Icons (Android).

routes

  • Type: Boolean
  • Default: true

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" },
        ]
      }
    }
}

Please see examples/routable-tabs for a working example.

πŸ€” Common Questions

Can i use this module for my existing nuxt project?

No. It is highly recommanded to use a standalone project for mobile app.

Why asyncData/middleware is not working?

Framework7Vue has it's own router. You can define state in data() and use async mounted to fill the state.

Middleware also don't work. You can use nuxt plugins instead. (ServerMiddleware are supported in server mode)

How to deploy?

Nuxt7 is designed to make a fully functional PWA app. Users can install app using "Add to Homescreen".

  • Use nuxt generate to make a static version
  • Deploy it on your own server or use free services, now or netlify or surge

How to make sidepanel working?

The default layout can do the trick. See kitchen-sink/layouts/default.vue for an example.

How to create default 404 route?

Create pages/default.vue file. It will be used as fallback route.

🍳 Development

# Fork and clone [email protected]:nuxt-community/nuxt7.git

# Install dependencies
yarn install

# Start development server (kitchen sink)
yarn dev

License

MIT - Nuxt Community - Pooya Parsa

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].