You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generate-plop.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ Based on all details provided generate-tool will create follwoing files:
48
48
-````index.ts```` Export statement for the component.
49
49
-````{name}.ts````React component
50
50
-````tests/{name}.test.ts```` Unit test basic structure for the component using [React Test Library](https://testing-library.com/docs/react-testing-library/intro/)
51
-
-````{name}.style.ts```` Style file for the component using [Styled Component framework](https://styled-components.com/)
51
+
-````{name}.style.ts```` Style file for the component using [Stitches Styling Library](https://stitches.dev/)
52
52
-````{name}.story.ts````[Storybook](https://storybook.js.org/) created for the component.
53
53
54
54
### Hooks
@@ -64,7 +64,8 @@ You can create [Next pages](https://nextjs.org/docs/basic-features/pages).
64
64
- You will need to provide the name of the page.
65
65
- You can provide directory where you want to create the page, default directory
66
66
is ````src/pages````.
67
-
- Tool will create ````index.ts```` Export statement for the custom hook.
67
+
- Tool will create ````index.ts```` Export statement for the template.
68
+
-````{name}.ts````If Template doesn't exists, it will create a template in the dir ````src/components/templates````
68
69
- It will update the route as well in ````src/routes/paths.ts```` file.
0 commit comments