page: 新增页面: 📄 react创建zustand包含ts和js

This commit is contained in:
bunny 2024-01-14 22:31:30 +08:00
parent a7ebca890d
commit 6ea9d65cda
2 changed files with 4350 additions and 4410 deletions

View File

@ -24,11 +24,12 @@ const frame = [
const react = [ const react = [
{ {
type: 'list', type: 'list',
message: '📢react默认包含redux/toolkit;🚶选择路由创建位置', message: '📢react部分默认包含redux/toolkit;🚶选择路由创建位置',
name: 'router', name: 'router',
choices: [ choices: [
{ name: '使用RouterProvider', value: 'RouterProvider' }, { name: '使用RouterProvider', value: 'RouterProvider' },
{ name: '使用userouter', value: 'userouter' }, { name: '使用userouter', value: 'userouter' },
{ name: '使用userouter和zustand', value: 'zustand' },
{ name: '不使用路由', value: '' }, { name: '不使用路由', value: '' },
], ],
}, },
@ -61,6 +62,8 @@ module.exports = {
'react&ts&userouter': 'http://129.211.31.58:3000/Bunny-Cli/react_ts_userouter.git', 'react&ts&userouter': 'http://129.211.31.58:3000/Bunny-Cli/react_ts_userouter.git',
'react&js&RouterProvider': 'http://129.211.31.58:3000/Bunny-Cli/react_js_routerprovider.git', 'react&js&RouterProvider': 'http://129.211.31.58:3000/Bunny-Cli/react_js_routerprovider.git',
'react&ts&RouterProvider': 'http://129.211.31.58:3000/Bunny-Cli/react_ts_routerprovider.git', 'react&ts&RouterProvider': 'http://129.211.31.58:3000/Bunny-Cli/react_ts_routerprovider.git',
'react&ts&zustand': 'http://129.211.31.58:3000/Bunny-Cli/react_ts_zustand.git',
'react&js&zustand': 'http://129.211.31.58:3000/Bunny-Cli/react_js_zustand.git',
}, },
// 问题 // 问题
question: { frame, react, vue }, question: { frame, react, vue },

8755
package-lock.json generated

File diff suppressed because it is too large Load Diff