Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
pnpm install
Set env file (values are from firebase service accounts and app settings):
NUXT_FIREBASE_PROJECT_ID=
NUXT_FIREBASE_CLIENT_EMAIL=
NUXT_FIREBASE_PRIVATE_KEY=
NUXT_PUBLIC_FIREBASE_API_KEY=
NUXT_PUBLIC_FIREBASE_APP_ID=
NUXT_PUBLIC_FIREBASE_PROJECT_ID=
NUXT_PUBLIC_FIREBASE_MEASUREMENT_ID=
Start the development server on http://localhost:3000
pnpm run dev
Build the application for production:
pnpm run build
Locally preview production build:
pnpm run preview
Check out the deployment documentation for more information.