npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@runablejs/tailwindcss

v0.1.0

Published

Readme

Runable Tailwind CSS

Tailwind CSS 4 integration for Runable ⚡️

Tailwind CSS Runable Vue TypeScript License

[!NOTE] This module currently targets Tailwind CSS 4 and uses the official @tailwindcss/vite plugin.

Description

@runablejs/tailwindcss integrates Tailwind CSS 4 into Runable applications through the official Vite plugin. It lets you use Tailwind utility classes in Vue components while keeping the setup small and aligned with Tailwind CSS 4 conventions.

Features

  • 👌 Automatic Tailwind CSS import
  • ⚡️ Powered by the official Tailwind CSS Vite plugin
  • 🎨 Tailwind CSS 4 support
  • 💚 Vue and TypeScript ready
  • 🔌 Seamless integration with Runable

Installation

Install the module with your preferred package manager:

# pnpm
pnpm add --save-dev @runablejs/tailwindcss

# npm
npm install --save-dev @runablejs/tailwindcss

# yarn
yarn add --dev @runablejs/tailwindcss

Configuration

Add the module to runable.config.ts:

import { defineConfig } from "runable";

export default defineConfig({
  modules: ["@runablejs/tailwindcss"],
});

The module automatically injects @import "tailwindcss";. You can use Tailwind utility classes in your components immediately:

It also registers the source files exposed by every loaded Runable module, so Tailwind can detect utility classes used in pages, layouts, components, plugins, composables, and globals.

<template>
  <h1 class="text-3xl font-bold text-blue-500">
    Hello Runable!
  </h1>
</template>

Disable CSS injection

Set injectCss to false if you prefer to import Tailwind CSS from your own stylesheet:

import { defineConfig } from "runable";

export default defineConfig({
  modules: ["@runablejs/tailwindcss"],
  tailwindcss: {
    injectCss: false,
  },
  css: ["./app/assets/css/main.css"],
});
/* app/assets/css/main.css */
@import "tailwindcss";

Options

| Option | Type | Default | Description | | --- | --- | --- | --- | | injectCss | boolean | true | Automatically inject Tailwind CSS and register Runable source files. | | exposeConfig | boolean | false | Expose the resolved module options through useRuntime().public.tailwindcss. |

Expose the module configuration

Enable exposeConfig when the resolved module options need to be available in your application:

import { defineConfig } from "runable";

export default defineConfig({
  modules: ["@runablejs/tailwindcss"],
  tailwindcss: {
    exposeConfig: true,
  },
});

You can then access them from a component or composable:

const { public: publicRuntime } = useRuntime();
const tailwindcss = publicRuntime.tailwindcss;

Because the configuration is public, do not add sensitive values to the module options.

Contributing

You can contribute to the module locally:

  1. Clone the repository.
  2. Install dependencies using pnpm install.
  3. Prepare the application using pnpm app:prepare.
  4. Start the development server using pnpm dev.
  5. Check your changes using pnpm typecheck.

License

MIT - Made with 💚