0.0.1 • Published 4 years ago
@rschristian/astro-preact-twind v0.0.1
Better docs & background to come
Usage
$ yarn add preact twind@next @rschristian/astro-preact-twindastro.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
0.0.1
4 years ago