Deploy VUE 到 App Engine
GCP 建立 App Engine 選 Node.js

app.yaml
runtime: nodejs20
handlers:
# Serve all static files with urls ending with a file extension
- url: /(.*\..+)$
static_files: dist/\1
upload: dist/(.*\..+)$
# catch all handler to index.html
- url: /.*
static_files: dist/index.html
upload: dist/index.html
將 dist 與 app.yaml 放一起

執行 gcloud app deploy

gcloud app browse

參照
到部署網站才開始從頭學起 - iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天 (ithome.com.tw)
