- React18
- Antd5
- natur或者mobx
- react-router 6.4.3
- vite
- ts
第一步
yarn
第二步
yarn start
文件位置 /package/frontEnd/router/config.tsx
配置步骤:
- 配置路由id:
ROUTE_ID
- 配置路由内容:
ROUTE_INFO_CONFIG
- 配置路由结构:
ROUTE_STRUCT_CONFIG
文件位置 /package/backEnd/config/secure.tsx
module.exports = {
qiniuConfig: {
domain: 'http://qiniu.hackslog.cn',
AK: '自己的',
SK: '自己的',
bucket: '自己的'
}
}
这样,一个全栈项目就跑起来了。
有问题就交流,群号:551406017