Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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. 一款简约、高效、功能强大的微前端框架

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
```