@rschristian/astro-preact-twind

0.0.1 • Public • Published

@rschristian/astro-preact-twind

Astro integration for using Preact & Twind

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

Readme

Keywords

none

Package Sidebar

Install

npm i @rschristian/astro-preact-twind

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

6.15 kB

Total Files

7

Last publish

Collaborators

  • rschristian