前端:vue2.0 + vue-router + vuex + axios + Element ui
后端:nodejs + express + mongoose
运行前需要先启动mongodb数据库,请确保本地已安装数据库
npm install // 安装依赖
npm run webapp // 启动前端工程
npm run local // 启动后端工程
h5编辑器类似maka、易企秀 账号/密码:admin
Home Page: http://h5.limesoftware.cn
License: Other
前端:vue2.0 + vue-router + vuex + axios + Element ui
后端:nodejs + express + mongoose
运行前需要先启动mongodb数据库,请确保本地已安装数据库
npm install // 安装依赖
npm run webapp // 启动前端工程
npm run local // 启动后端工程
@ zhengguorong 你好
npm run local 还是起不来,原因是 config这个对象缺失,具体现象如下
$ npm run local
[email protected] local /Users/youyin/Documents/h5maker
NODE_ENV=localhost node ./bin/www
/Users/youyin/Documents/h5maker/auth/auth.service.js:22
secret: config.secrets.session
^
TypeError: Cannot read property 'session' of undefined
DeprecationWarning: open()
is deprecated in mongoose >= 4.11.0, use openUri()
instead, or set the useMongoClient
option if using connect()
or createConnection()
. See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-client
标题和描述一致是正在编辑的标题,和主题,不能跟着列表页的标题变化
看了一下源码,好像没看到token更新在什么地方?是不是没使用token过期更新?
如题。
插入透明的png素材,为啥有白色背景
哪个分支为准?
老大。下载了你的项目,有点不太会部署。能教一下吗
mongoose操作mongodb数据库发现文档中多了‘'__v‘'字段;
保存页面不能成功,提示" Updating the path '__v' would create a conflict at '__v' ";
在Scheam中加入{versionKey:false}成功解决问题;
var PageSchema = new mongoose.Schema({
pages: {
......
},{versionKey: false})
@zhengguorong 请问有没有设计思路之类的文章或着文档?谢谢!!!
登陆时报401错误,是我数据库安装连接问题还是什么问题呢
四个角的控制手柄改变图层大小超过尺寸就会跑,边界判断可能有问题
运行 npm run webapp 开启的http://localhost:8080/#/ 端口是8080
运行 npm run local 接口http://localhost:3000/api/pages?type=h5 开始的端口3000
这样没有问题吗?
OPTIONS http://localhost:3000/api/upload net::ERR_CONNECTION_REFUSED
dispatchXhrRequest @ xhr.js?f9de:175
xhrAdapter @ xhr.js?f9de:12
dispatchRequest @ dispatchRequest.js?1bb7:52
Promise.then (async)
request @ Axios.js?2d34:57
Axios. @ Axios.js?2d34:77
wrap @ bind.js?07f8:9
post @ http.js?2414:28
img.onload @ PicturePicker.vue?86f1:55
load (async)
fr.onload @ PicturePicker.vue?86f1:52
load (async)
fileChange @ PicturePicker.vue?86f1:49
invokeWithErrorHandling @ vue.js?7a20:1863
invoker @ vue.js?7a20:2188
original._wrapper @ vue.js?7a20:7541
http.js?2414:94 Uncaught (in promise) TypeError: Cannot read property 'status' of undefined
at errorProcess (eval at (app.js:864), :103:20)
at eval (eval at (app.js:864), :52:5)
@zhengguorong 你好,我的webapp启动起来了,简洁好用!
但是在启动后台的时候报错
(node:4391) DeprecationWarning: open()
is deprecated in mongoose >= 4.11.0, use openUri()
instead, or set the useMongoClient
option if using connect()
or createConnection()
. See http://mongoosejs.com/docs/connections.html#use-mongo-client
MongoDB connection error: MongoError: failed to connect to server [127.0.0.1:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
请问你有没有遇到这个问题,谢谢
我是Mac 系统
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.