Jakeuj's Notes master Help

GCP 部屬 VUE

Deploy VUE 到 App Engine

GCP 建立 App Engine 選 Node.js

1695364843 png

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 放一起

1695365682 png

執行 gcloud app deploy

1695365979 png

gcloud app browse

1695366091 png

參照

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

Jakeuj

PS5

  • Vue

  • 回首頁

本文章從點部落遷移至 Writerside

13 October 2025