Skip to main content

@marvinh-test/fresh-tailwind@0.0.4

Works with
JSR Score
58%
Published
a month ago

Tailwind CSS plugin for Fresh

A Tailwind CSS plugin to use in Fresh.

// dev.ts

import { tailwind } from "@fresh/plugin-tailwind";
import { FreshDevApp } from "@fresh/core/dev";
import { app } from "./main.ts";

const devApp = new FreshDevApp();

// Enable Tailwind CSS
tailwind(devApp);

devApp.mountApp("/", app);

if (Deno.args.includes("build")) {
  await devApp.build({
    target: "safari12",
  });
} else {
  await devApp.listen();
}

To learn more about Fresh go to https://fresh.deno.dev/.

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @marvinh-test/fresh-tailwind

Import symbol

import * as mod from "@marvinh-test/fresh-tailwind";

Add Package

npx jsr add @marvinh-test/fresh-tailwind

Import symbol

import * as mod from "@marvinh-test/fresh-tailwind";

Add Package

yarn dlx jsr add @marvinh-test/fresh-tailwind

Import symbol

import * as mod from "@marvinh-test/fresh-tailwind";

Add Package

pnpm dlx jsr add @marvinh-test/fresh-tailwind

Import symbol

import * as mod from "@marvinh-test/fresh-tailwind";

Add Package

bunx jsr add @marvinh-test/fresh-tailwind

Import symbol

import * as mod from "@marvinh-test/fresh-tailwind";