-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
单独引入 RadioButton 时没有样式,需要引入 全局的 css #3276
Comments
已经按照文档配置了 |
@initial-wu 估计组件的名字问题 =。= import { Button } from 'element-ui'
// This should work
Vue.component(Button.name, Button)
// DO NOT use this
Vue.use(Button) |
QingWei-Li
added a commit
to QingWei-Li/element
that referenced
this issue
Mar 23, 2017
mdartic
pushed a commit
to mdartic/element
that referenced
this issue
Mar 31, 2017
caikan
pushed a commit
to caikan/element
that referenced
this issue
Apr 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ElementUI version
1.2.3
OS/Browers version
win10/Chrome 56
Vue version
2.2.1
What is Expected?
引入了全局css是正常的
![image](https://cloud.githubusercontent.com/assets/17722900/23585339/1586db5a-01b7-11e7-8c4c-1a2874365bba.png)
![image](https://cloud.githubusercontent.com/assets/17722900/23585340/19a9ad98-01b7-11e7-91e2-574547b88c5e.png)
What is actually happening?
没有引入全局css时RadioButton没有样式,Button组件则可以显示正常样式
![image](https://cloud.githubusercontent.com/assets/17722900/23585334/f897089e-01b6-11e7-94f5-d2c11ccd795d.png)
![image](https://cloud.githubusercontent.com/assets/17722900/23585337/07f1902a-01b7-11e7-9ff7-e4c99f912c1a.png)
![image](https://cloud.githubusercontent.com/assets/17722900/23585335/009993ae-01b7-11e7-886a-864ea7bd193b.png)
The text was updated successfully, but these errors were encountered: