Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rschristian/astro-preact-twind
Astro integration for using Preact & Twind
https://github.com/rschristian/astro-preact-twind
Last synced: 5 days ago
JSON representation
Astro integration for using Preact & Twind
- Host: GitHub
- URL: https://github.com/rschristian/astro-preact-twind
- Owner: rschristian
- License: mit
- Created: 2022-04-11T02:29:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-11T02:32:11.000Z (over 2 years ago)
- Last Synced: 2024-10-25T13:30:18.704Z (20 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@rschristian/astro-preact-twind
Astro integration for using Preact & Twind
Better docs & background to come
## Usage
```bash
$ yarn add preact twind@next @rschristian/astro-preact-twind
```> astro.config.js
```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](https://github.com/rschristian/astro-preact-twind/blob/master/LICENSE)