forked from fanruan/fineui
guy
8 years ago
3 changed files with 25 additions and 11 deletions
@ -0,0 +1,13 @@
|
||||
/*eslint no-console:0 */ |
||||
'use strict'; |
||||
const express = require('express'); |
||||
const open = require('open'); |
||||
const fs=require("fs"); |
||||
const app = express(); |
||||
const port = 3000; |
||||
|
||||
app.use(express.static("./")); |
||||
app.listen(port, function() { |
||||
console.log("server start"); |
||||
open('http://localhost:' + port + '/index.html'); |
||||
}); |
Loading…
Reference in new issue