![berial logo](https://avatars0.githubusercontent.com/u/68577605?s=200&v=4)
Berial
:imp: Simple micro-front-end framework.
Feature
-
lifecycle loop
-
shadow dom
-
scoped css
-
proxy sandbox
-
html loader
-
mixins
Use
<one-app></one-app>
<two-app></two-app>
import { register, start } from 'berial'
register(
'one-app',
'http://localhost:3000/one.html',
(location) => location.hash === '#/app1'
)
register(
'two-app',
'http://localhost:3000/two.html',
(location) => location.hash === '#/app2'
)
start()
mixins
import { mixin } from 'berial'
mixin({
bootstrap: () => {},
mount: () => {},
unmount: () => {}
})
mixins will apply all apps
License
MIT ©yisar ©h-a-n-a