berial
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

berial logo

Berial

👿 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

<one-app></one-app>
<two-app></two-app>

<script type="module">
  import { register } from 'berial'
  register([{
    name: 'one-app',
    url: '1.html',
    allowList: ['fre'] // 沙箱白名单
  },{
    name: 'two-app',
    scripts: ['2.js'], // 可选
    styles: ['2.css']
  }])
</script>

License

MIT ©yisar ©h-a-n-a

Readme

Keywords

none

Package Sidebar

Install

npm i berial

Weekly Downloads

8

Version

0.1.7

License

MIT

Unpacked Size

152 kB

Total Files

32

Last publish

Collaborators

  • yse
  • thisispluto