0.3.1 • Published 1 year ago

rollup-plugin-tailprops v0.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

rollup-plugin-tailprops

rollup-plugin-tailprops is the Rollup/Vite integration for the Tailprops library.

Current framework support

FrameworkSupported
SvelteKit
Svelte🚧
React🚧

Installation

Install Tailprops and the Rollup plugin as dev dependencies:

npm install -D tailprops rollup-plugin-tailprops

Then, add the plugin to your vite.config.ts:

// vite.config.ts

import { defineConfig } from "vite";
import { tailpropsPlugin } from "rollup-plugin-tailprops";

export default defineConfig({
  plugins: [
    // ...
    tailpropsPlugin({ framework: "svelte-ssr" }), // Add tailprops to your plugins
  ],
});

Lastly, add typings and the Tailwind transform by running:

npx tailprops init svelte
0.3.1

1 year ago

0.3.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago