Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun installStart the development server on http://localhost:3000:
# npm
npm run dev
npm run dev -- -o
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run devBuild the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run buildLocally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run previewCheck out the deployment documentation for more information.
#Baseline Supabase DB
- Create copy of existing schem
- Baseline from supabase - npx prisma db pull
- Create a new directory - MUST!!!! be the last in the list
- run compare command npx prisma migrate diff --from-schema-datamodel prisma/schemabase.prisma --to-schema-datamodel prisma/schema.prisma --script > prisma/migrations/20240701164741_baseline/migration.sql
- mark the migration as resolved npx prisma migrate resolve --applied 20240701164741_baseline prisma migrate dev --name nameofmigration