Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liou666/mini-frontend
mini-frontend demo
https://github.com/liou666/mini-frontend
Last synced: 3 days ago
JSON representation
mini-frontend demo
- Host: GitHub
- URL: https://github.com/liou666/mini-frontend
- Owner: liou666
- Created: 2021-11-26T09:51:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T07:58:53.000Z (almost 3 years ago)
- Last Synced: 2024-03-08T05:29:33.549Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
#### Demo
- `Host` 目录是基座项目,加载远程路由并做相应处理。
- `BaseCenter` 目录是项目的中转服务,每个子项目启动时会加载中转服务中暴露的方法,在中转服务中暴露的方法中将追加路由对象。
- `AppOne` 与 `AppTwo` 目录是项目的远程子项目。> 注:`webpack-serve-dev@4` 貌似不兼容 webpack-cli
#### Test
`Test`目录提供的是静态导入案例,由 `App1` 静态加载 `App2` 与 `App3` 的服务。
#### ToDoList
- [x] 静态加载 remote
- [x] 动态加载 remote
- [x] 微前端(基本跑通)
- [ ] 微前端(完善项目功能,)
- [ ] react-in-vue