当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
内联元素居中
第七章
湖仓一体电商项目(二):项目使用技术及版本和基础环境准备
A brief introduction to the SSM framework
业务-(课程-章节-小节)+课程发布一些业务思路
Andoird开发--指南针(基于手机传感器)
postgresql 生成随机日期,随机时间
02 Truffle TutorialToken 示例
Come n times with the sword--05. Replace spaces
Mysql+Navicat for Mysql
优信年营收16亿:亏损3亿 已与蔚来资本及58集团签署股权协议
文件管理:目录管理
刷题《剑指Offer》day07
【Excel】生成随机数字/字符
ReentrantLock
Come n times - 07. Rebuild the binary tree
matlab常用符号用法总结
js以变量为键
模块八
比较并交换 (CAS) 原理