1. 快速开始
  2. 框架指南

安装

开始使用 Tailwind CSS

Tailwind CSS 通过扫描你的所有 HTML 文件、JavaScript 组件以及其他模板中的 class 名称,生成对应的样式,并将其写入静态 CSS 文件。

它快速、灵活且可靠 —— 零运行时(zero-runtime)。

框架指南

针对不同主流开发环境的框架专用指南,涵盖我们推荐的 Tailwind CSS 安装方式。

  • Next.js

    Full-featured React framework with great developer experience.

  • Laravel

    PHP web application framework with expressive, elegant syntax.

  • Nuxt

    Intuitive Vue framework for building universal applications.

  • SolidJS

    A tool for building simple, performant, and reactive user interfaces.

  • SvelteKit

    The fastest way to build apps of all sizes with Svelte.js.

  • Angular

    Platform for building mobile and desktop web applications.

  • Ruby on Rails

    Full-stack framework with all the tools needed to build amazing web apps.

  • React Router

    A standards‑focused router you can deploy anywhere.

  • Phoenix

    A framework to build rich, interactive applications with Elixir.

  • Parcel

    The zero-configuration build tool for the web.

  • Symfony

    A PHP framework to create websites and web applications.

  • Meteor

    The full stack JavaScript framework for developing cross-platform apps.

  • AdonisJS

    A fully featured web framework for Node.js.

  • Ember.js

    A JavaScript framework for ambitious web developers.

  • Astro

    The all-in-one web framework designed for speed.

  • Qwik

    Build instantly-interactive web apps without effort.

  • Rspack

    A fast Rust-based web bundler.

没有找到你使用的框架?你可以尝试使用 Tailwind CLI Vite 插件 PostCSS 插件进行集成。
Copyright © 2025 Tailwind Labs Inc.·Trademark Policy