1.0.3 • Published 1 year ago

astro-portal v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

⛔️ DEPRECATED

This project was a submission for the Astro 1.0 Hackathon. It is now possible to utilize nested renderers in Astro by default, so this library is no longer needed.  


 
A framework-agnostic portal system for micro-frontend & streaming contexts.

Counters

 
Check out a "kitchen sink" demo here:

lazy-portal/Demo

 
Try it out here:

 

Installation

NPM

npm install astro-portal

astro.config.js

import {defineConfig} from "astro/config"
import {AstroPortal } from "astro-portal"


export default defineConfig({
  integrations: [
    AstroPortal(),
  ],
})

 

Usage

See: lazy-portal/#Usage