Skip to content

Commit f1745f5

Browse files
committed
chore: update rsbuild template
1 parent 108b13f commit f1745f5

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ bunx create-template-fe@latest
2828
|- Vitejs, React18, Typescript, SWC
2929
|- Vitejs, Antd, Recoil, i18n, Typescript
3030

31+
- Rsbuild
32+
|- Rsbuild, Antd, Recoil, i18n, Typescript
33+
3134
- Nextjs
3235
|- Next12, Antd, Recoil, i18n, Typescript
3336
|- Next13, Antd, Jotai, i18n, Typescript (Page Router)

src/templates.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
red,
1010
yellow,
1111
lightYellow,
12-
lightGray
12+
lightGray,
1313
} from 'kolorist';
1414

1515
export const templates = [
@@ -46,18 +46,29 @@ export const templates = [
4646
githubRepo: 'https://github.com/hunghg255/vite-react-swc-init.git',
4747
},
4848
{
49-
name: 'Vitejs, Antd, Recoil, i18n, Typescript',
49+
name: 'Vitejs, Antd, Jotail, i18n, Typescript',
5050
color: yellow,
5151
githubRepo: 'https://github.com/hunghg255/vite-react-antd.git',
5252
},
5353
],
5454
},
55+
{
56+
framwork: 'Rsbuild',
57+
color: magenta,
58+
variants: [
59+
{
60+
name: 'Rsbuild, Antd, Jotail, i18n, Typescript',
61+
color: green,
62+
githubRepo: 'https://github.com/hunghg255/rsbuild-react-antd.git',
63+
}
64+
],
65+
},
5566
{
5667
framwork: 'Nextjs',
5768
color: lightGreen,
5869
variants: [
5970
{
60-
name: 'Next12, Antd, Recoil, i18n, Typescript',
71+
name: 'Next12, Antd, Jotail, i18n, Typescript',
6172
color: red,
6273
githubRepo: 'https://github.com/hunghg255/next12-antd-recoil.git',
6374
},

0 commit comments

Comments
 (0)