Skip to content

Latest commit

 

History

History

bau-astro

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@grucloud/bau-astro

This [Astro integration] adds Bau.js to your project so that you can use Bau.js anywhere on your page.

This is an experimental project, a proof of concept.

Installation

Manual Install

First, install the @grucloud/bau-astro package using your package manager. If you're using npm or aren't sure, run this in the terminal:

npm install @grucloud/bau-astro

Then, apply this integration to your astro.config.* file using the integrations property:

// astro.config.mjs
import { defineConfig } from "astro/config";
import bau from "@grucloud/bau-astro";

export default defineConfig({
  // ...
  integrations: [bau()],
});

Usage

Once the integration is installed, you can use Bau.js in, your Astro project.

Examples

Limitation

  • CSS-in-JS such as bau-css, emotion, styled-components, goober are not supported by Astro, see issue
  • client:only is not supported: see issue