Skip to content

Commit 0f28f1e

Browse files
authored
Merge pull request #44 from khus29/patch-3
Update generate-plop.md
2 parents 4b394f8 + e140f95 commit 0f28f1e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/generate-plop.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Based on all details provided generate-tool will create follwoing files:
4848
- ````index.ts```` Export statement for the component.
4949
- ````{name}.ts````React component
5050
- ````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/)
5252
- ````{name}.story.ts```` [Storybook](https://storybook.js.org/) created for the component.
5353

5454
### Hooks
@@ -64,7 +64,8 @@ You can create [Next pages](https://nextjs.org/docs/basic-features/pages).
6464
- You will need to provide the name of the page.
6565
- You can provide directory where you want to create the page, default directory
6666
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````
6869
- It will update the route as well in ````src/routes/paths.ts```` file.
6970

7071
### Stores

0 commit comments

Comments
 (0)