You can create new component using this command:
pnpm component-
Name (required) - name of the component with app prefix (e.g.
ArButton) -
Module (optional) - module name (e.g.
blog) - it will use or createmodules/blogdirectory and put component there (optional) -
Type (required) - select one of the list of predefined component types. It will use or create specific directory and put component there. Structure is based on Atomic Design
-
Storybook (optional) - if you want to create storybook stories for this component
You can create new context using this command:
pnpm context-
Name (required) - name of the context with app prefix (e.g.
ArBlogContext) -
Module (optional) - module name (e.g.
blog) - it will use or createmodules/blogdirectory and put context there