fuchengshen
2022-06-28 b00ac813e5be3fedb10ca49e7e57a757295e19fe
1
2
3
4
5
6
7
const WebFramework = require('@midwayjs/web').Framework;
const web = new WebFramework().configure({
  port: 8001,
});
 
const { Bootstrap } = require('@midwayjs/bootstrap');
Bootstrap.load(web).run();