-
Notifications
You must be signed in to change notification settings - Fork 80
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
mako 结合 tailwindcss 使用时无法识别配置的路径 #1423
Comments
tailwind还需要什么配置吗? 我从 umi 直接切过来, 原来的extraPostCSSPlugins不支持, 不知道怎么弄了 |
我这里没有配置啥 tailwind,我只是用来继承增加主题配置 |
@dongjb 给个最简复现? |
在 public 目录添加business-license.webp图片,能稳定复现这个错误,不过它只是提示错误,并不影响最终呈现效果 |
duplicated #1382 |
同样遇到这个问题,mako不支持postcss的话,umi4如何支持tailwind呢? |
+1 问下 |
+1 同问 |
现象说明
我在.env文件中配置了环境变化,用来设置 publicPath
我在tailwind.config.js中使用了这个环境变量 process.env.PUBLIC_PATH用来设置背景图路径,并且我确保我的 public 目录下是有这两个文件的
结果展示
在启动时报错无法解决图片路径
期望结果
期望无报错,能正确识别路径
The text was updated successfully, but these errors were encountered: