Open xch752 opened 3 years ago
Both of two projects have {window.less} and use {window.less.modifyVars} successfully. The high version project doesn't change the css ,But lower one works.
I've to look into directory structure of ant-design-vue package inside node_modules.
Ant Design (React) has this structure
antd | lib | style (this is important) | button | date-picker | slider | more .... | dist
antd/lib/style contains themes and variables files e.g. antd/lib/style/themes/default.less
So if ant-design-vue does not have that struture then you can pass a configuration prop andStylesDir
which should pint to a folder/directory which contains style
and other component directories then it will work.
If you can create a sample public project which I can clone and test, that can help me to find out the problem and fix it.
Describe the bug I can use antd-theme-generator in vue2.x & ant-design-vue@1.6.5 but it dosent'work on vue3.0 & ant-design-vue@2.0.0-beta.10 Show your code
it works
not work
Screenshots If applicable, add screenshots to help explain your problem.
Version Which version is installed in your application? Try using the latest version, that may help