当前位置:网站首页>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 (2)
- 第六章
- 第二十二课,实例化(instancing)
- Spark 在 Yarn 上运行 Spark 应用程序
- 高并发-高可用-高性能
- 编译器R8问题Multidex
- (selenium)Service geckodriver unexpectedly exited. Status code was: 64
- Come n times - 09. Implement queues with two stacks
- Hematemesis summarizes thirteen experiences to help you create more suitable MySQL indexes
- js radar chart statistical chart plugin
猜你喜欢
随机推荐
通过栗子来学习MySQL高级知识点(学习,复习,面试都可)
qt在不同的线程中传递自定义结构体参数
canvas粒子变幻各种形状js特效
win10镜像下载
(C语言)程序环境和预处理
文件管理:目录管理
JSP exception对象简介说明
UE4插件软链接(关联)
搭建frp进行内网穿透
【RISC-V】risc-v架构学习笔记(架构初学)
postgresql generate random date, random time
【Excel】生成随机数字/字符
loadrunner-controller-手动场景Schedule配置
loadrunner-controller-场景执行run
服务器上解压文件时提示“gzip: stdin: not in gzip format,tar: Child returned status 1,tar: Error is not recovera“
(selenium)Service geckodriver unexpectedly exited. Status code was: 64
一些计时软件,生产力工具
Browser usage ratio js radar chart
vue element form表单规则校验 点击提交后直接报数据库错误,没有显示错误信息
Kotlin—基本语法 (四)