You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
392 B
11 lines
392 B
const express = require('express');
|
|
const path = require('path');
|
|
const app = express();
|
|
const port = 9022;
|
|
|
|
app.use('/static', express.static(path.join(__dirname, '../lib')));
|
|
|
|
app.listen(port, () => {
|
|
console.log(`tis-ui javascrpt访问地址: http://localhost:${port}/static/index.js`);
|
|
console.log(`tis-ui css访问地址: http://localhost:${port}/static/theme-chalk/index.css`);
|
|
});
|