Replies: 1 comment 1 reply
-
Flex prefixes are not required in modern browsers. For legacy browsers, you can configure browserslist, see https://rsbuild.dev/guide/advanced/browserslist |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
版本信息:
"vue": "^3.5.13",
"tailwindcss": "^3.4.17",
"@rsbuild/core": "^1.1.13",
"@rsbuild/plugin-sass": "^1.1.2",
"@rsbuild/plugin-vue": "^1.0.5"
tailwind.config.mjs文件:
/** @type {import('tailwindcss').Config} */ export default { content: ['./src/**/*.{js,vue}', './index.html'], theme: { extend: {} }, plugins: [] }
postcss.config.mjs文件:
export default { plugins: { tailwindcss: {} } }
tailwind.css文件:
@tailwind base;
@tailwind components;
@tailwind utilities;
在main.js中引入:
import '@styles/tailwind.css'
项目启动后,tailwindcss能正常使用,但是没有给css属性添加前缀,如下:
期望给display: flex属性加前缀
Beta Was this translation helpful? Give feedback.
All reactions