UNPKG
vue2-el-bpmn
Version:
latest (1.0.0)
1.0.0
Vue2+ElementUI+BPMN2.0整合(基于Bpmn Process Designer)
vue2-el-bpmn
/
core
/
server
/
dev.js
12 lines
(9 loc)
•
287 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
app =
require
(
'express'
)();
const
http =
require
(
'http'
).
createServer
(app);
const
io =
require
(
'socket.io'
)(http); io.
on
(
'connection'
,
function
(
socket
) {
console
.
log
(
'a user connected'
); }); http.
listen
(
30001
,
function
(
) {
console
.
log
(
'listening on *:30001'
); });