Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@empjs/plugin-tailwindcss

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@empjs/plugin-tailwindcss

base tailwind 4

Source
npmnpm
Version
1.2.5
Version published
Weekly downloads
115
Maintainers
3
Weekly downloads
 
Created
Source

@empjs/plugin-tailwindcss

base tailwindcss v4

安装

pnpm add @empjs/plugin-tailwindcss-D
pnpm add tailwindcss // 需要在落地项目安装、否则引入css会报错、暂时没找到解决方案

使用

import pluginTailwindcss from '@empjs/plugin-tailwindcss'
import {defineConfig} from '@empjs/cli'
export default defineConfig(({mode, env}) => {
  return {
    plugins: [pluginTailwindcss()],
  }
})

配置

tailwindcss 已经集成都插件、只需直接引入即可

import type {Config} from '@empjs/plugin-tailwindcss/tailwindcss'
export default {
  important: '.tw-host',
} satisfies Config

Keywords

vue

FAQs

Package last updated on 18 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts