当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
浏览器使用占比js雷达图
Hematemesis summarizes thirteen experiences to help you create more suitable MySQL indexes
实现线程池
A brief introduction to the SSM framework
5.for in 和 for of区别和使用
利用frp服务器进行内网穿透ssh访问
Mysql+Navicat for Mysql
canvas粒子变幻各种形状js特效
jupyter notebook初使用
djangoWeb应用框架+MySQL数据4
【TCP/IP】网络模型
JSP response,request操作中(中文乱码)-如何解决呢?
postgresql generate random date, random time
JSP pagecontext对象的简介说明
Come n times - 09. Implement queues with two stacks
Are postgresql range queries faster than index queries?
Come n times - 06. Print the linked list from end to end
js雷达图统计图表插件
HTC官方RUU固件提取刷机包rom.zip以及RUU解密教程
状态机动态规划之股票问题总结








