https://github.com/yzydeveloper/vite-plugin-micro
Micro frontend based on Vite and ESM
https://github.com/yzydeveloper/vite-plugin-micro
Last synced: 4 months ago
JSON representation
Micro frontend based on Vite and ESM
- Host: GitHub
- URL: https://github.com/yzydeveloper/vite-plugin-micro
- Owner: yzydeveloper
- Created: 2024-03-09T17:57:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T12:30:35.000Z (almost 2 years ago)
- Last Synced: 2025-09-26T01:51:22.049Z (5 months ago)
- Language: TypeScript
- Homepage: https://vite-plugin-micro-app.vercel.app
- Size: 108 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vite-plugin-micro
Micro frontend based on Vite and ESM
## Feature
## Install
```bash
npm install vite-plugin-micro -D
```
## Dev
TODO
- [x] Server environment support
- [x] HMR support
- [x] Build environment support
- [ ] ...
```bash
# micro-sub-app
cd examples/micro-sub-app
npm run build
npm run serve
# micro-shared
cd examples/micro-shared
npm run build
npm run serve
# micro-app
cd examples/micro-app
npm run build
npm run serve
```
## Usage
[Local examples](./examples)