Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History

astro-portal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

⛔️ 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:

 
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