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