Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minsion/micro-app
A simple, efficient and powerful micro front-end framework. 一款简约、高效、功能强大的微前端框架
https://github.com/minsion/micro-app
Last synced: 24 days ago
JSON representation
A simple, efficient and powerful micro front-end framework. 一款简约、高效、功能强大的微前端框架
- Host: GitHub
- URL: https://github.com/minsion/micro-app
- Owner: minsion
- License: mit
- Created: 2024-05-20T08:45:38.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T13:38:15.000Z (7 months ago)
- Last Synced: 2024-05-21T14:52:17.263Z (7 months ago)
- Language: CSS
- Homepage:
- Size: 2.77 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to use
## Base application
**1、Install**
```bash
yarn add @micro-zoe/micro-app
```**2、import at the entrance**
```js
// main.js
import microApp from '@micro-zoe/micro-app'microApp.start()
```**3、Use components in page**
```html
```
## Sub application
**Set cross-domain support in the headers of webpack-dev-server**
```js
devServer: {
headers: {
'Access-Control-Allow-Origin': '*',
},
},
```### development
1、Clone
```
git clone https://github.com/minsion/micro-app.git
```2、Install dependencies
```
yarn bootstrap
```3、Run project
```
yarn start
```