Skip to content
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

请问下如何修改element-ui主题色,引入umy-ui后,原来的主题色被覆盖 #46

Open
lzming1989 opened this issue Mar 15, 2021 · 2 comments

Comments

@lzming1989
Copy link

No description provided.

@parlay96
Copy link
Member

样式先引入 在引入 ele的, 如:在main。js入口里面。 加入第一行引入 umyui的样式 在第二行引入ele的,这样就会吧ele重置掉umy的样式名了!

@dearMyFriend007
Copy link

我项目里面只用到了 UTable UTableColumn 所以我不需要引入样式,通过

import UTable from 'umy-ui/lib/u-table'
import UTableColumn from 'umy-ui/lib/u-table-column'
Vue.use(UTable)
Vue.use(UTableColumn)

这样引入后用Use 挂载可以实现,不引入umy-ui 的样式, 不影响自定义主题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants