春天-stenciljs-演示 在/src/main/javascript/frontend添加SPA代码(项目称为frontend) 将watch脚本添加到package.json "watch": "stencil build --dev --watch", 更改stencil.config.ts www outputTarget dir属性以将捆绑包生成到/static文件夹中 ... outputTargets: [ { type: 'www', // comment the following line to disable service wor