Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

vue-cli 如何结合ueditor,run dev的时候出现问题

ERROR in ./~/css-loader!./~/ueditor/example/public/ueditor/themes/default/css/ueditor.css
Module not found: Error: Cannot resolve 'file' or 'directory' ../images/charts.png  in D:wampwwwsofreight_newssrcwebpublicackend
ode_modulesueditorexamplepublicueditorhemesdefaultcss
 @ ./~/css-loader!./~/ueditor/example/public/ueditor/themes/default/css/ueditor.css 6:24079-24111

main.js中的引入代码:


import 'ueditor/example/public/ueditor/ueditor.config.js'
import 'ueditor/example/public/ueditor/ueditor.all.js'
import 'ueditor/example/public/ueditor/lang/zh-cn/zh-cn.js'
import 'ueditor/example/public/ueditor/themes/iframe.css'
import 'ueditor/example/public/ueditor/themes/default/css/ueditor.css'

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

检查下这个文件下有没有这个图片,路径问题好好检查下


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...