You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where the src/myStylesReplacement.less file loads the same files as the index.less file, but loads them within the scope of a top-level selector : the result is that all of the "global" styles are being applied with the #antd scope.
@@ -154,7 +154,7 @@ See an example of usage with gulp and [postcss-prefixwrap](https://github.com/db
154
154
You must import styles as less format. A common mistake would be importing multiple copied of styles that some of them are css format to override the less styles.
155
155
156
156
- If you import styles by specifying the `style` option of [babel-plugin-import](https://github.com/ant-design/babel-plugin-import), change it from `'css'` to `true`, which will import the `less` version of antd.
157
-
- If you import styles from `'antd/dist/antd.css'`, change it to `antd/dist/antd.less`.
157
+
- If you import styles from `'ant-design-vue/dist/antd.css'`, change it to `ant-design-vue/dist/antd.less`.
0 commit comments