@twind/vite-plugin-jsx
v2.1.0
Published
A [Vite](https://vitejs.dev) plugin which adds JSX enhancements for [Twind](https://github.com/tw-in-js/twind)
Downloads
6
Readme
@twind/vite-plugin-jsx
A Vite plugin which adds JSX enhancements for Twind
Features
Usage
Install from npm:
npm install -D @twind/vite-plugin-jsx
Add to the
plugins
section of your vite config:import { defineConfig } from 'vite' import twindJsx from '@twind/vite-plugin-jsx' export default defineConfig({ // other config ... plugins: [ // other plugins ... twindJsx(), ], })
And you're done!