Welcome to OStack Knowledge Sharing 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 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...