Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

子应用使用 tailwindcss 4 无法正常工作 #1550

Open
faner11 opened this issue Mar 13, 2025 · 1 comment
Open

子应用使用 tailwindcss 4 无法正常工作 #1550

faner11 opened this issue Mar 13, 2025 · 1 comment
Labels
Need Reproduction 需要复现步骤

Comments

@faner11
Copy link

faner11 commented Mar 13, 2025

问题描述

子应用使用 tailwindcss 4 无法正常工作,我先后尝试了tailwindcss 推荐的两种集成方式,@tailwindcss/vite 与 postcss 两种方式,都无法在父应用展示样式。但是tailwindcss V3 是正常。
https://tailwindcss.com/docs/installation/using-vite

复现步骤

  1. 子应用使用tailwindcss V4 即可

复现仓库

子应用使用tailwindcss V4 即可

环境信息

  • micro-app版本:1.0.0-rc.22
  • 主应用前端框架&版本:vite:5.2.10 & vue: 2.7.14
  • 子应用前端框架&版本:vite: 6.2.1 & react: 18.3.1
  • 构建工具&版本:vite
@timhub66 timhub66 added the Need Reproduction 需要复现步骤 label Mar 18, 2025
Copy link

Hello @faner11. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository.
您好 @faner11, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduction 需要复现步骤
Projects
None yet
Development

No branches or pull requests

2 participants