element
element copied to clipboard
[Bug Report] Cannot find module "/lib/theme-default/index.css" in package [email protected]
Element UI version
2.0.2
OS/Browsers version
MacOS/ Chrome 61.0.3163.100
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/pj71jkyw/
Steps to reproduce
Open dev tools and you'll notice -> GET https://unpkg.com/[email protected]/lib/theme-default/index.css net::ERR_ABORTED
What is Expected?
GET https://unpkg.com/[email protected]/lib/theme-default/index.css should load. Tried older version of the library but problem stills.
What is actually happening?
GET https://unpkg.com/[email protected]/lib/theme-default/index.css net::ERR_ABORTED Cannot find module "/lib/theme-default/index.css" in package [email protected]
import 'element-ui/lib/theme-chalk/index.css'
Thanks @psychokiller666 , that worked.