element icon indicating copy to clipboard operation
element copied to clipboard

[Bug] Cannot find module 'element-ui/lib/theme-chalk/fonts/element-icons.woff?t=1510834658947'

Open Reechee88 opened this issue 8 years ago • 1 comments

Hi,

I am tryin to customize the theme as it written here: http://element.eleme.io/#/en-US/component/custom-theme

Content of my element-variables.scss: ` $--collapse-border-color: #00A6EC; $--collapse-header-color: #00A6EC; $--collapse-header-height: 48px; $--collapse-header-padding: 22px; $--collapse-header-fill: white; $--collapse-header-size: 18px; $--collapse-content-fill: brown; $--collapse-content-size: 20px; $--collapse-content-color: orange;

$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index"; `

When webpack compiles the scss, it gives me always this error: Cannot find module 'element-ui/lib/theme-chalk/fonts/element-icons.woff?t=1510834658947'

I have checked and the element-icons.woff exists in the node_modules dir. I can't get rid of this annoying error.

What is the problem? How can I solve it?

Thanks, Richard

Reechee88 avatar Dec 30 '17 11:12 Reechee88

Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.

element-bot avatar Dec 30 '17 11:12 element-bot