redwood generate page <name> [path]

Generate a page component

Arguments

NameDescription
nameName of the page
pathURL path to the page. Defaults to name

Options

NameDescription
--force, -f
  • Dangerous 💥
--typescript, --tsGenerate TypeScript files Enabled by default if we detect your project is TypeScript
--testsGenerate test files [default: true]
--storiesGenerate Storybook files [default: true]