当前位置:网站首页>Rich text editor Tinymce
Rich text editor Tinymce
2022-07-31 09:32:00 【Fairy wants to carry】
Table of Contents
5. Component templates and basic styles

1. CopyScript Library
Copy the script library to the static directory of the project (under the static path of vue-element-admin-master)

2. Configure html variables
Add configuration in guli-admin/build/webpack.dev.conf.js
In the html page, you can use the BASE_URL variable defined here
new HtmlWebpackPlugin({filename: 'index.html',template: 'index.html',inject: true,favicon: resolve('favicon.ico'),title: 'vue-admin-template',templateParameters: {BASE_URL: config.dev.assetsPublicPath + config.dev.assetsSubDirectory}})]})3. Introduce js script
Introduce js script in guli-admin/index.html
4. Copy Components
src/components/Tinymce
Tinymce is introduced into the course information component

import Tinymce from '@/components/Tinymce'export default {components: { Tinymce },......}5. Component templates and basic styles
边栏推荐
猜你喜欢

MySQL 操作语句大全(详细)
![mysql 数据去重的三种方式[实战]](/img/37/ad4007a32d9eb563a303756785e72f.png)
mysql 数据去重的三种方式[实战]

VMware下安装win10启动后进入Boot Manger界面如何解决

开放麒麟 openKylin 自动化开发者平台正式发布

浏览器使用占比js雷达图

MySQL 视图(详解)

多个js雷达图同时显示

Are postgresql range queries faster than index queries?

通过栗子来学习MySQL高级知识点(学习,复习,面试都可)

服务器上解压文件时提示“gzip: stdin: not in gzip format,tar: Child returned status 1,tar: Error is not recovera“
随机推荐
第二十四课、二十五课,高级光照(blinn),Gamma矫正
刷题《剑指Offer》day07
MySQL 视图(详解)
业务-(课程-章节-小节)+课程发布一些业务思路
OpenGL es 导读篇
作为面试官,关于线程池的问题我一般这样套路...
Mysql+Navicat for Mysql
【NLP】Transformer理论解读
5.for in 和 for of区别和使用
win10镜像下载
Come n times with the sword--05. Replace spaces
六、MFC文档类(单文档和多文档)
7. JS ES6新增语法 new Map详讲,还有一道代码实战案例帮你快上手new Map
spark过滤器
The future of the hybrid interface: conversational UI
js部门预算和支出雷达图
状态机动态规划之股票问题总结
loadrunner-controller-view script与load generator
Linux 创建mysql数据库并创建账号密码
比较并交换 (CAS) 原理