Storybook Scaffolder Workflow (v2)
- Get component path.
- Generate
.stories.tsxfile from template. - Prepend this line to the top of the generated file:
import 'src/styles/design-tokens.css'; - Report success.
Generates a Storybook story file (*.stories.tsx) with M3 design token
Browse the full folder contents for storybook-scaffolder.
Loading file tree…
Skill Metadata
.stories.tsx file from template.import 'src/styles/design-tokens.css';