2015/3/7 5:36:54翻牌: 11284临幸: 41 使用方法1. 安装npm install ueditor-nodejs --save2. 到ueditor官网下载php版或者jsp版的ueditor,将ueditor放入public下,重命名文件夹为ueditor3. 将ueditor.config.js中的serverURL改为 URL + "ue"4. 注册后台var ueditor = require("ueditor-nodejs");
app.use("/ueditor/ue", ueditor({//这里的/ueditor/ue是因为文件件重命名为了ueditor,如果没改名,那么应该是/ueditor版本号/ue
...