Are you a Nuxt developer? Or are you familiar with Prisma ORM and want to use it easily with Nuxt? Then this module is for you.
With this module, you can easily integrate Prisma ORM in your Nuxt app.
usePrismaClient()
composable for your Vue filesAdd @prisma/nuxt
dependency to your project
npm install @prisma/nuxt
Add @prisma/nuxt
to the modules
section of nuxt.config.ts
export default defineNuxtConfig({
modules: ["@prisma/nuxt"],
});
Start the development server:
npm run dev
Starting the development server will:
To learn more about how to use the module, visit our documentation