guy 8 years ago
parent
commit
6c06bdf924
  1. 34
      demo.html
  2. 2
      server.js

34
demo.html

@ -1,34 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css"
href="docs/core.css"/>
<link rel="stylesheet" type="text/css"
href="docs/base.css"/>
<link rel="stylesheet" type="text/css"
href="docs/widget.css"/>
<link rel="stylesheet" type="text/css"
href="docs/resource.css"/>
<link rel="stylesheet" type="text/css"
href="docs/demo.css"/>
<script src="docs/core.js"></script>
<script src="docs/base.js"></script>
<script src="docs/case.js"></script>
<script src="docs/widget.js"></script>
<!--图表-->
<script src="docs/vancharts-all.js"></script>
<script src="docs/biconst.js"></script><!--图表用到的常量(直接拿的bi的常量)-->
<script src="docs/chart.js"></script>
<script src="docs/demo.js"></script>
</head>
<body>
<div id="wrapper"></div>
</body>
</html>

2
server.js

@ -9,5 +9,5 @@ const port = 3000;
app.use(express.static("./"));
app.listen(port, function() {
console.log("server start");
open('http://localhost:' + port + '/demo.html');
open('http://localhost:' + port + '/docs/index.html');
});

Loading…
Cancel
Save