摘要:tinymce 安装的方法在前文中有说明: https://www.cnblogs.com/already/p/12012752.html 项目中已经安装tinymce 1、先下载 tinymce-mathjax包 https://github.com/dimakorotkov/tinymce-ma
阅读全文
摘要:注意:定义数组时不能为"new Array()" 应该为"{}"
阅读全文
摘要:线上build之后发现app.XXX.js 文件特别大。 包我都改为cdn了 其他空间就是路由改为懒加载了。 对比前后:
阅读全文
摘要:@click.native="change('123')
阅读全文
摘要:pluins 创建quill 目录 创建文件video.js 模版中引用注册 api/upload 配置 模版初始化 webpack.base.conf.js index.html
阅读全文
摘要:1、index.html 增加cdn 地址 <script src="//cdn.bootcss.com/tinymce/5.0.16/tinymce.min.js"></script> 2、组件目录创建编辑器的组件 cd components touch tinymce-editor.vue 创建
阅读全文
摘要:plugins: { type: [String, Array], default: 'lists image media wordcount advlist bbcode code charmap emoticons insertdatetime preview' }, toolbar: { ty
阅读全文
摘要:https://segmentfault.com/a/1190000012688849
阅读全文
摘要:1、首先index.html 中配置cdn 引入 2、main.js 引用 3、build/webpack.base.conf.js 中定义声明 4、package.json 去除 记住:element 要在vue 后面,否则报错。其他的包也类似,这样 页面加载速度不能说飞快,但有质的提升
阅读全文