#使用 npm installnpm run start:hmr浏览: http://localhost:3000 demo ts 在src/app.ts 内.打包: npm run build:prod 资源文件会打包到 dist/ 文件夹下.