Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
All modules

@runablejs/tailwindcss

Official module

Add Tailwind CSS 4 to a Runable application through the official Vite plugin, with source detection for every loaded module.

Install with pnpm

Source code

@runablejs/tailwindcss configures Tailwind CSS 4 for Runable. It registers the official @tailwindcss/vite plugin, injects the Tailwind import, and includes source files exposed by loaded Runable modules.

Installation

Install the module as a development dependency:

pnpm add -D @runablejs/tailwindcss

Add it to runable.config.ts:

import { defineConfig } from "runable";

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

You can now use Tailwind utility classes in Vue components:

<template>
  <h1 class="text-3xl font-bold text-emerald-500">
    Built with Runable and Tailwind CSS
  </h1>
</template>

Options

OptionTypeDefaultDescription
injectCssbooleantrueInject @import "tailwindcss" and register Runable source files.
exposeConfigbooleanfalseExpose the resolved options through the public runtime configuration.

Use your own stylesheet

Disable automatic CSS injection when your application already owns its Tailwind entry file:

import { defineConfig } from "runable";

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

Then import Tailwind from that stylesheet:

@import "tailwindcss";
Category
Styling
Compatibility
Runable 1.x · Tailwind CSS 4
Maintainer
Runable Team

Resources

DocumentationView on npmLearn more
Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable