Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

calmery/aleph-plugin-tailwindcss

Repository files navigation

aleph-plugin-tailwindcss

Lint Commitizen Friendly

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/[email protected]/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.