A plugin for using Tailwind CSS with Aleph.js
Attributes
Includes Deno configuration
Repository
Current version released
3 years ago
aleph-plugin-tailwindcss
A plugin for using Tailwind CSS with Aleph.js.
Usage
First, install Node.js version 15.0.0 or higher (technically, npm version 7.0.0 or higher).
// aleph.config.ts
import type { Config } from "https://deno.land/x/aleph@v0.3.0-beta.19/types.d.ts";
import tailwindcss from "https://deno.land/x/aleph_plugin_tailwindcss/plugin.ts";
export default <Config> {
plugins: [tailwindcss],
// plugins: [tailwindcss({ verbose: true, version: "3.0.18" })],
};
// tailwind.config.js
module.exports = {
content: ["./src/**/*.tsx"],
};
See example.