1、安裝
npm install?vue-ueditor-wrap
2、下載所需資源 這一步在解決報錯的時候會用到
?????????? UEditor資源下載鏈接
上面的打不開請從下面鏈接下載項目
ueditor-download: vue項目中集成ueditor的UE資源
3、下載完成后將文件夾放到public文件夾下
4、 配置ueditor.config.js,并且在main.js和index.html引用
main.js引用
import VueUeditorWrap from 'vue-ueditor-wrap'
Vue.component('VueUeditorWrap', VueUeditorWrap)
index.html引用
?5、解決文件上傳報錯文章來源:http://www.zghlxwxcb.cn/news/detail-648794.html
將下載的資源中的php文件夾下的config.js中的內(nèi)容,復(fù)制粘貼到ueditor.config.js代碼的末尾。文章來源地址http://www.zghlxwxcb.cn/news/detail-648794.html
到了這里,關(guān)于UEditor富文本編輯器上傳圖片打不開,提示“后端配置項沒有正常加載,上傳插件不能正常使用”的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!