去做 构建设置 # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launch server $ npm run build $ npm run start # generate static project $ npm run generate 有关工作原理的详细说明,请查看 。 使API服务器正常工作 安装开发人员依赖项: ts节点 打字稿 将tsconfig.json添加到api目录: { " compilerOptions " : { " lib " : [ " es2019 " , " es2020.bigint " , " es2020.string " , " es2020