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

单独引入 RadioButton 时没有样式,需要引入 全局的 css #3276

Closed
initial-wu opened this issue Mar 5, 2017 · 3 comments
Closed

Comments

@initial-wu
Copy link

ElementUI version

1.2.3

OS/Browers version

win10/Chrome 56

Vue version

2.2.1

What is Expected?

引入了全局css是正常的
image
image

What is actually happening?

没有引入全局css时RadioButton没有样式,Button组件则可以显示正常样式
image
image
image

@lincenying
Copy link

@initial-wu
Copy link
Author

已经按照文档配置了
引入Button是没有问题的
只有RadioGroup缺少样式

@lyyourc
Copy link

lyyourc commented Mar 8, 2017

@initial-wu 估计组件的名字问题 =。=

import { Button } from 'element-ui'

// This should work
Vue.component(Button.name, Button)

// DO NOT use this
Vue.use(Button)

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