1.安装tinymce-vue
npm install @tinymce/tinymce-vue -S
2.安装tinymce
npm install tinymce -S
3.在vue-cli 3.0项目下的public里面建议tinymce下建立文件夹,并将node_modules里tinymce下的skin文件复制进去
4.下载中文语言包,放入tinymce文件下
5.引入tinymce
import tinymce from 'tinymce/tinymce'
import Editor from '@tinymce/tinymce-vue'
import 'tinymce/themes/silver'