|
|
hace 4 años | |
|---|---|---|
| config | hace 4 años | |
| public | hace 4 años | |
| src | hace 4 años | |
| tests | hace 5 años | |
| .editorconfig | hace 5 años | |
| .eslintignore | hace 5 años | |
| .eslintrc.js | hace 4 años | |
| .gitignore | hace 4 años | |
| .prettierignore | hace 4 años | |
| .prettierrc.js | hace 4 años | |
| .stylelintrc.js | hace 4 años | |
| README.md | hace 4 años | |
| jest.config.js | hace 5 años | |
| jsconfig.json | hace 5 años | |
| package.json | hace 4 años | |
| tsconfig.json | hace 5 años | |
| windi.config.ts | hace 4 años |
pnpm install
npm run dev
git remote update origin --prune
git branch -a
git push origin --delete xx
git branch -d xx
git reset --hard dev //并将 master 分支重置为 dev
git push origin master --force //将重置后的 master 分支强制推送更新
1. 尽量使用typescript进行开发,包括使用tsx(定义其组件prop类型)。
2. 新增路由页面:
2.1. 要使用PageContainer包裹并将title、breadcrumb置为false(不需要渲染标题以及面包屑),水印配置视具体页面调整(默认配置查看app.tsx中的layout配置)。
2.2. locales/zh-CH/menu.js要加上对应国际化配置。
3. 本项目使用@umijs/plugin-dva整合数据流进行全局状态管理, 详见