element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] Cannot find module "/lib/theme-default/index.css" in package [email protected]

Open lucho99 opened this issue 9 years ago • 2 comments

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]

lucho99 avatar Oct 31 '17 13:10 lucho99

import 'element-ui/lib/theme-chalk/index.css'

psychokiller666 avatar Oct 31 '17 16:10 psychokiller666

Thanks @psychokiller666 , that worked.

lucho99 avatar Oct 31 '17 17:10 lucho99