0.0.1 • Published 2 years ago

@rschristian/astro-preact-twind v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Better docs & background to come

Usage

$ yarn add preact twind@next @rschristian/astro-preact-twind

astro.config.js

import { defineConfig } from 'astro/config';
import astroPreactTwind from '@rschristian/astro-preact-twind';

// https://astro.build/config
export default defineConfig({
    integrations: [
        astroPreactTwind(),
    ],
});

Your config file will need to be located at src/styles/twind.config.js. I'll provide a proper API for configuring this at some point, but Astro makes this way more cumbersome than it should be.

License

MIT