nodejs小记之Ueditor的配置
来源:互联网 发布:网络思想政治教育效果 编辑:程序博客网 时间:2024/04/29 03:05
本文章只记录过程,不讲解原理。
下面所有的操作都在搭建好的express工程下,express配置参考前面的文章。
安装Ueditor
npm install --save ueditor
提取ueditor需要的文件
把ueditor里面所给的example中的public文件复制到express工程下的public文件夹
编辑上传图片的服务器
根据example中的app.js 更改自己的服务器。
把app.use app.use(“/ueditor/ue”,..添加到自己的服务器路由中。
注意的部分
一定要把nodjs中的config.json复制改名到ueditor文件夹中。
改名为ueditor.config.json,否则你上传图片的时候他会显示服务器配置有错误。
结尾语
这时候你可以去访问ueditor中的静态index.html试试了。
具体ueditor配置去参考百度ueditor自己的配置文档。
0 0
- nodejs小记之Ueditor的配置
- NodeJs的ueditor配置注意事项
- nodejs小记之简单的node服务器
- nodejs小记之windows安装nodejs
- nodejs模块小记之--async
- UEditor如何使用?UEditor的配置教程
- UEditor之实现配置简单的图片上传示例
- UEditor之实现配置简单的图片上传示例
- nodejs小记之手动搭建express框架
- ueditor的配置和使用
- ueditor的配置和使用
- ueditor的工具按钮配置
- Ueditor官方文档之上传路径配置
- Ueditor官方文档之上传路径配置
- proftpd的配置小记
- ueditor配置
- ueditor配置
- nodejs的配置信息
- C#换机器后调用dll失败提示无法加载DLL找不到指定的模块
- c++实验3-个人所得税计算器
- tomcat
- 使用ngx_lua构建高并发应用(1)
- Codeforces 588B Duff in Love 【数学】
- nodejs小记之Ueditor的配置
- Servlet和Android网络交互基础(3)
- 哈希表
- C++第三次作业
- 百度地图系列之07——只显示圆内的marker+Fragment
- GitHub上排名前100的Android开源库(201603)
- 第二次上机作业
- ueditor编辑器无法粘人表格,Uncaught TypeMismatchError: Failed to execute ‘removeAttributeNode’ on ‘Element’: T
- 4.1.4 main函数实现细节