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.
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()],
});
Once the integration is installed, you can use Bau.js in, your Astro project.
- The Bau Astro example shows how to use Bau.js in an Astro project.