@grucloud/bau-astro
v0.97.0
Published
Use Bau within Astro
Downloads
402
Maintainers
Readme
@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
- The Bau Astro example shows how to use Bau.js in an Astro project.