👿 Simple micro-front-end framework.
-
lifecycle loop
-
shadow dom
-
scoped css
-
js sandbox
-
html loader
-
global store
<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()MIT ©yisar ©h-a-n-a