https://github.com/berialjs/berial
😈 Simple micro-front-end framework.
https://github.com/berialjs/berial
micro-frontend microservice
Last synced: about 1 month ago
JSON representation
😈 Simple micro-front-end framework.
- Host: GitHub
- URL: https://github.com/berialjs/berial
- Owner: berialjs
- License: mit
- Created: 2020-07-27T13:04:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T06:00:22.000Z (almost 3 years ago)
- Last Synced: 2025-03-04T15:48:13.235Z (about 2 months ago)
- Topics: micro-frontend, microservice
- Language: TypeScript
- Homepage: https://berial.vercel.app
- Size: 473 KB
- Stars: 521
- Watchers: 16
- Forks: 63
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micro-frontends - berial
- awesome-micro-frontends - Berial - Simple micro-front end framework
README
Berial
:imp: Simple micro-front-end framework.
### 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