- Notifications
You must be signed in to change notification settings - Fork0
基于single-spa-react的非常简单基础的微前端应用
License
NotificationsYou must be signed in to change notification settings
single-spa-react/single-spa-react-simple
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
$ git clone git@github.com:single-spa-react/single-spa-react-simple.git$cd single-spa-react-simple$ npm install$ npm start注意
react-router-dom v6版本的使用方式有较大改动:
Switch --> Routes
Component ---> element
<Routes>{routes.map((route,index)=>(<Routekey={index}routeKey={route.key}exact={route.exact}path={route.path}element={route.element}/>))}</Routes>
打开浏览器访问http://127.0.0.1:8000/project1/。
1,项目依赖包梳理:https://segmentfault.com/a/1190000019006667
- https://github.com/xlei1123/daymanage
这是一个使用 umi 开发的项目,想学习 umi 的新手可以学习一下
- https://github.com/xlei1123/dtext
前端文案默认值处理利器,统一定制修改,同时支持使用时特殊指定
About
基于single-spa-react的非常简单基础的微前端应用
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published