Astro Integration
Integrate with Astro
Astro is a very popular polyglot framework, mainly due to it's capabilities of integrating multiple ui libraries within it.
You can also build fast webapps using Weblabs by integrating it inside of astro, and it is actually super easy to do.
Weblabs does not support SSR, hence it has no SSR driver for Astro. Use Weblabs when you need performant webapp but not reliant on SEO, i.e dashboards, editors and so on.
Using Script Tag
You can directly integrate weblabs inside of astro pages via scripts, that also supports modularity, and can import other weblabs components from your codebase or npm.
Using External Codebase
You can create a dedicated directory for weblabs components/pages and then import them into the astro pages as required.
This is how you can add performant Weblabs components inside of your views. You can also do this in pretty much any framework of your wish, make sure you call render and that's all. We are also working on an intercom for isolated components, to and from react or any other component to enable them sharing data through a global network of namespaces.
Last updated
Was this helpful?