JSPM

  • Created
  • Published
  • Downloads 118
  • Score
    100M100P100Q63815F
  • License MIT

Generate Next.js components from your Prisma Schema

Package Exports

  • nexquik
  • nexquik/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nexquik) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


Logo
Nexquik

Transform your database schema into a Stunning Next.js app in seconds

CLI UsagePrisma Generator UsageOptions

CLI Usage

npx nexquik -schema schema.prisma

Prisma Generator Usage

Add to your Prisma schema

generator Nexquik {
    provider = "prisma-generator-nexquik"
}

Generate

npx prisma generate

Options

  -schema               Path to prisma schema file (default: "./prisma/schema.prisma")
  -out                  Path to output directory (default: "nexquikApp")
  -exclude              Comma-separated list of model names to exclude
  -include              Comma-separated list of model names to include

By default, all of your database models will be created.

If you exclude models, they will not be generated in the top-level of your app, but they will still be present as children of your other top-level models.

If you specify models to include, only those models will be generated at the top-level. But all of their children will be generated. This will also over-write any value you set for your exclusion list.