JohannesKlauss / astro-micro-frontends

A micro frontend approach with Astro

Home Page:https://astro-micro-frontends.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro Micro Frontends

How to use

Install dependencies

npm i

Build

In order to use astro as a router, you need to build the project first. This also builds an example button component in a ui pattern library that Team Buy uses in their React BuyButton component.

npm run build

Run

npm run preview

Then open browser on http://localhost:3000

Team Find runs on https://localhost:3001 and Team Buy on https://localhost:3002.

You should see something like this:

astro-micro-frontends

About

A micro frontend approach with Astro

https://astro-micro-frontends.vercel.app


Languages

Language:TypeScript 59.4%Language:Astro 19.9%Language:JavaScript 16.1%Language:HTML 4.1%Language:CSS 0.4%