zemunkh / nuxt3-firebase-primevue

Nuxt 3 with Firebase services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nuxt 3 Firebase starter with PrimeVue


πŸ§ͺ Working in Progress


πŸ–₯ Online Preview

Features

  • πŸ’š Nuxt 3 - SSR, ESR, File-based routing, components auto importing, modules, etc.

  • πŸ”₯ The <script setup> syntax

  • 🚠 Firebase v9 for Firestore database services

  • πŸš€ The PrimeVue for styled components

  • πŸ—½ The Boostrap 5 for style

  • 🍍 State Management via Pinia

  • 🍍 + πŸ’½ pinia-plugin-persistedstate-2 plugin for saving stores locally

  • 🚦 VeeValidate for input forms with i18n support

  • 🌎 intlify/i18n support, now supports πŸ‡¬πŸ‡§, πŸ‡«πŸ‡·, πŸ‡΅πŸ‡Ή, πŸ‡―πŸ‡΅

  • πŸ“₯ APIs auto importing - for Composition API, VueUse and custom composables.

  • 🏎 Firebase cloud functions and deploy

  • 🦾 Mainly TypeScript

Plugins

Nuxt Modules

  • Firebase v9 - New version of Firebase services
  • TailwindCSS - It's fast, flexible, and reliable β€” with zero-runtime.
  • Pinia - intuitive, type safe, light and flexible Store for Vue.

IDE

We recommend using VS Code with Volar to get the best experience (You might want to disable Vetur if you have it).

Nuxt3 Firebase Starter with PrimeVue development

Setup

Make sure to install the dependencies

npm install

Current workaround for error 'ReferenceError: IDBIndex is not defined'

npm i firebase@9.6.7 β€”save-exact

Or you may face the following error

ERROR  nuxi requires @nuxt/kit to be installed in your project. Try installing nuxt3 or @nuxt/bridge first.  

Then do the following and yarn install do the rest of it.

npx nuxi upgrade --force

Then

npm run dev

Preview

Delete .output folder and run below commands

npm run build
npx nuxi preview

Production

Build the application for production:

NITRO_PRESET=firebase yarn build

Using emulators, you can preview the result on locally

firebase emulators:start 

Deploy

firebase deploy

Checkout the deployment documentation.

About

Nuxt 3 with Firebase services


Languages

Language:Vue 65.3%Language:TypeScript 18.7%Language:JavaScript 13.3%Language:HTML 2.2%Language:Shell 0.5%