run.js 234 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 var express = require('express') var app = express() app.use(express.static('./dist')) app.get('/', function(req, res) { res.send('Hello Vue') }) app.listen(8080) console.log('服务已运行:\r\n localhost:8080')