@lynx-js/web-core
v0.20.1
Published
This is an internal experimental package, do not use
Readme
@lynx-js/web-core
Lynx3 Web Platform runtime core
Usage
use an open CDN
unpkg
<script src="https://app.unpkg.com/@lynx-js/web-core/files/dist/client_prod/static/js/client.js" type="module"></script>
<link rel="stylesheet" href="https://app.unpkg.com/@lynx-js/web-core/files/dist/client_prod/static/css/client.css">jsdelivr
<script src="https://cdn.jsdelivr.net/npm/@lynx-js/web-core/dist/client_prod/static/js/client.js" type="module"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@lynx-js/web-core/dist/client_prod/static/css/client.css">bundle with your project
import '@lynx-js/web-core/client';
document.body.innerHTML = `
<lynx-view
style="height:100vh; width:100vw;"
url="http://localhost:3000/main/main-thread.js"
>
</lynx-view>`;Document
See our website for more information.
