Open hexiekuaile opened 5 years ago
第一步,修改src/views/Tinymce.vue 文件修改这行代码 import { VueTinymce , TinymceSetting } from 'tinymce'; 第二步,npm install,出现如下如下错误,但是npm run dev,可以访问网页,但是有如上控件问题 npm WARN iview@2.14.3 requires a peer of vue@^2.5.2 but none is installed. You must install peer dependencies yourself. npm WARN WZ@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
audited 9491 packages in 15.782s
found 23 vulnerabilities (7 low, 8 moderate, 8 high)
run npm audit fix
to fix them, or npm audit
for details
将vue版本号从2.3.3换成2.5.2是可以解决的,但是同时注意更换vue-template-compiler版本号,也要换到2.5.2,直接在package.json中修改版本号,然后npm install就行了
控件有问题,点击下可知。