We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version:
version
{ // ... "vue": "^3.2.19", "ant-design-vue": "^2.2.8", "vite": "^2.5.10", "unplugin-vue-components": "^0.15.4" }
vite.config.js:
vite.config.js
{ // ... css: { preprocessorOptions: { less: { modifyVars: { 'primary-color': '#3351c7', 'border-radius-base': '10px' }, javascriptEnabled: true } } }, plugins: [ Components({ resolvers: [ AntDesignVueResolver(), ], dts: true, include: [/\.vue$/, /\.vue\?vue/, /\.tsx$/, /\.jsx$/] }) ] }
The component does not change after startup, If I introduce the whole thing in the entry without using unplugin-vue-components, the style will change.
unplugin-vue-components
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
importStyle: "less" 可以正常使用自定义样式
use less option is ok , default is css
alright i got it
赞👍
No branches or pull requests
version
:vite.config.js
:The component does not change after startup, If I introduce the whole thing in the entry without using
unplugin-vue-components
, the style will change.The text was updated successfully, but these errors were encountered: