@nx/remix
Version:
26 lines (25 loc) • 688 B
JSON
{
"$schema": "https://json-schema.org/schema",
"$id": "NxRemixRouteStyle",
"title": "Add style import to a route",
"description": "Generate a style import and file for a given route.",
"type": "object",
"examples": [
{
"description": "Generate a stylesheet at `myapp/app/styles/foo.css`",
"command": "nx g style myapp/app/routes/foo.tsx"
}
],
"properties": {
"path": {
"type": "string",
"description": "The file path to the route. Relative to the current working directory.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What is the route file path?"
}
},
"required": ["path"]
}