We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a892d5 commit a0785aeCopy full SHA for a0785ae
app.js
@@ -0,0 +1,15 @@
1
+/*
2
+* 访问静态网页服务器
3
+*/
4
+// 引入需要的模块
5
+var express = require('express')
6
+
7
+// 设置端口值
8
+var port = 8082
9
10
+var app = express()
11
12
+app.use(express.static('docs'))
13
14
+app.listen(port)
15
+console.log('Serving at localhost:' + port)
package.json
@@ -1,6 +1,6 @@
{
"name": "Vue-CNode",
- "version": "1.0.0",
+ "version": "0.3.0",
"description": "A Vue.js project of CNode.",
"author": "Jerry <327538014@qq.ocm>",
"private": true,
0 commit comments