UNPKG

@nx/next

Version:

The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides: - Scaffolding for creating, building, serving, linting, and testing Next.js applications. - Integration wit

48 lines (47 loc) 1.57 kB
{ "$schema": "https://json-schema.org/schema", "cli": "nx", "$id": "NxNextTailwindSetupGenerator", "title": "Configures Tailwind CSS for an application or a buildable/publishable library.", "description": "Adds the Tailwind CSS configuration files for a Next.js project and installs, if needed, the packages required for Tailwind CSS to work.", "type": "object", "examples": [ { "command": "nx g setup-tailwind --project=my-app", "description": "Initialize Tailwind configuration for the `my-app` project." } ], "properties": { "project": { "type": "string", "description": "The name of the project to add the Tailwind CSS setup for.", "alias": "p", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "projects", "x-prompt": "What project would you like to add the Tailwind CSS setup?", "x-priority": "important" }, "buildTarget": { "type": "string", "description": "The name of the target used to build the project. This option is not needed in most cases.", "default": "build", "x-priority": "important" }, "skipFormat": { "type": "boolean", "description": "Skips formatting the workspace after the generator completes.", "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, "description": "Do not add dependencies to `package.json`.", "x-priority": "internal" } }, "additionalProperties": false, "required": ["project"] }