Skip to content

naveeng2402/nuxt-prisma

Repository files navigation

Nuxt Prisma

npm version npm downloads License Nuxt

The only nuxt module that makes nuxt devs life simpler for doing amazing things.

Features

Highlight some of the features your module provide here

  • Connect to Prisma with ease
  • view prisma studio in nuxt devtools

Quick Setup

  1. Add @naveeng2402/nuxt-prisma dependency to your project
# Using pnpm
pnpm add -D @naveeng2402/nuxt-prisma

# Using yarn
yarn add --dev @naveeng2402/nuxt-prisma

# Using npm
npm install --save-dev @naveeng2402/nuxt-prisma
  1. Add @naveeng2402/nuxt-prisma to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@naveeng2402/nuxt-prisma'
  ]
})
  1. Initialize prisma as you would
npx prisma init

That's it! You can now use Nuxt Prisma in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published