mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 16:52:49 +00:00
8 lines
200 B
JavaScript
8 lines
200 B
JavaScript
const WebFramework = require('@midwayjs/web').Framework;
|
|
const web = new WebFramework().configure({
|
|
port: 8001,
|
|
});
|
|
|
|
const { Bootstrap } = require('@midwayjs/bootstrap');
|
|
Bootstrap.load(web).run();
|