This is an example starter project, using Nuxt 3 (composition API) with Firebase and Pinia to auth users in client-side.
The goal is to make it easy to generate an application that has basic Firebase authentication setup.
Look at below documentations to learn more:
Nuxt 3: https://nuxt.com/docs/getting-started/introduction
Firebase Authentication on Web: https://firebase.google.com/docs/auth/web/start
You need to create Firebase account and setup SDK.
You need to create .env file with this content from Firebase project:
cp .env.example .env
Set environment variable:
NUXT_PUBLIC_API_KEY=""
Make sure to install the dependencies:
# npm
npm install
Start the development server on http://localhost:3000
# npm
npm run dev
Build the application for production:
# npm
npm run build
Check out the deployment documentation for more information.