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
Nexquik
Transform your database schema into a Stunning Next.js app in seconds
CLI Usage • Prisma Generator Usage • Options • Examples
CLI Usage
npx nexquik -schema schema.prismaPrisma Generator Usage
Install
npm install nexquikAdd to your Prisma schema
generator nexquik {
provider = "prisma-generator-nexquik"
}Generate
npx prisma generateOptions
| Option | Description | Default | Required |
|---|---|---|---|
| schema | Path to prisma schema file | schema.prisma | false |
| output | Path to output directory | nexquikApp | false |
| include | Comma-separated list of model names to include from the top-level of the generated app | false | |
| exclude | Comma-separated list of model names to exclude from the top-level of the generated app (NOTE: If the 'include' option is used, this exclusion list will be ignored) | false |
Examples
generator nexquik {
provider = "prisma-generator-nexquik"
output = "yourOutputDirectory"
exclude = "ModelOne,ModelTwo"
}generator nexquik {
provider = "prisma-generator-nexquik"
output = "yourOutputDirectory"
include = "ModelThree"
}npx nexquik -schema mySchema.prisma -output myOutputDirectory -exclude ModelOne,ModelTwonpx nexquik -schema mySchema.prisma -output myOutputDirectory -include ModelThree