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

最新版的没法编译吗?编译就报错了 #77

Open
langyuxiansheng opened this issue Jul 2, 2019 · 3 comments
Open

最新版的没法编译吗?编译就报错了 #77

langyuxiansheng opened this issue Jul 2, 2019 · 3 comments

Comments

@langyuxiansheng
Copy link

image

@JunCxio
Copy link

JunCxio commented Jul 19, 2019

有同样的问题

@ideacco
Copy link

ideacco commented May 19, 2020

同样的问题+1

@sunyongjian
Copy link

sunyongjian commented May 20, 2020

element-variables.scss 这个文件里,把缺少的变量定义一下就行了。
具体定义的值是什么,可以看 element-theme-chalk, lib 中对应 css 文件的代码,找到报错的 css 属性和值。

楼上的报错信息看,是去 node_modules/element-theme-chalk/lib/avatar.css 下,找 color 的属性。
当然你也可以跳过,直接写 ‘default’ 之类的属性值。

比如:
image

问题出现的原因不确定,估计是 element-theme 的 bug.

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

4 participants