Ecosyste.ms: Awesome

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

https://github.com/berialjs/berial

๐Ÿ˜ˆ Simple micro-front-end framework.
https://github.com/berialjs/berial

micro-frontend microservice

Last synced: 2 months ago
JSON representation

๐Ÿ˜ˆ Simple micro-front-end framework.

Lists

README

        

berial logo


Berial


:imp: Simple micro-front-end framework.



Build Status
npm-v
npm-d

### Why Berial

Berial is a new approach to a popular idea: build a javascript framework for front-end microservices.

There are any wonderful features of it, such as Asynchronous rendering pipeline, Web components (shadow DOM + scoped css), JavaScript sandbox (Proxy).

Note: diffence form fre, Berial will pay attention to business value.

### Use

```html

import { register } from 'berial'
register([{
name: 'one-app',
url: '1.html',
allowList: ['fre'] // ๆฒ™็ฎฑ็™ฝๅๅ•
},{
name: 'two-app',
scripts: ['2.js'], // ๅฏ้€‰
styles: ['2.css']
}])

```

### License

MIT ยฉyisar ยฉh-a-n-a