项目
在 GitHub 查看
nuxt-modules/tailwindcss
关于
适用于 Nuxt 的 Tailwind CSS 模块
网站与应用开发可以做什么
- 👌 Zero configuration to start
- 📦 Extendable by Nuxt modules using hooks
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- -1
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Nuxt Tailwind
[!NOTE] You’re viewing the v7 branch for compatibility with Tailwind CSS 4.
For the current stable release that uses Tailwind CSS 3, see v6.
Features
- 👌 Zero configuration to start
- 📦 Extendable by Nuxt modules using hooks
Quick Setup
Add @nuxtjs/tailwindcss using the Nuxt CLI to your project
npx nuxi@latest module add tailwindcss
..or install using your dependency manager
# Using pnpm
pnpm add --save-dev @nuxtjs/tailwindcss
# Using yarn
yarn add --dev @nuxtjs/tailwindcss
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
and then to the modules section of nuxt.config.{ts,js}
export default defineNuxtConfig({
modules: [
'@nuxtjs/tailwindcss'
]
})
That's it! You can now use Tailwind classes in your Nuxt app ✨
Contributing
You can contribute to this module online:
..or locally
- Clone this repository
- Install dependencies using
pnpm i - Prepare for development using
pnpm dev:prepare - Start development server using
pnpm dev
License
MIT - Made with 💚
探索相关项目
加载中…
