File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export async function writeDocs(opts: { context: Context }) {
1414
1515 const generals = [
1616 `- This a react project.` ,
17- `- Use @tanstack/react- router for routing.` ,
17+ `- Use @umijs/tnf/ router for routing, which is reexported from @tanstack/react-router .` ,
1818 `- Don't be lazy, write all the code to implement features I ask for.` ,
1919 `- Keep a log of what, why and how you did what you did in "fyi.md". Keep it updated.` ,
2020 `- Use zod to validate api response.` ,
@@ -24,6 +24,7 @@ export async function writeDocs(opts: { context: Context }) {
2424 `- Hard code values should be replaced by variables with meaningful names.` ,
2525 `- Extract api logic to services, keep services simple.` ,
2626 `- Use react-i18next for internationalization.` ,
27+ `- No need to declare types for *.less or *.css .` ,
2728 ] ;
2829 if ( deps [ '@tanstack/react-query' ] ) {
2930 generals . push ( `- Use @tanstack/react-query for data fetching.` ) ;
You can’t perform that action at this time.
0 commit comments