Last active
January 27, 2021 18:25
-
-
Save aprln/d229abe9dd9be55c93dd6db2e96b10f0 to your computer and use it in GitHub Desktop.
app.yaml for Google App Engine hosting Vue apps built with Quasar framework. Put this file in the "dist" folder then run "gcloud app deploy" inside the "dist" folder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: php55 | |
api_version: 1 | |
threadsafe: true | |
default_expiration: "5m" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest | |
static_files: \1 | |
upload: (.*\.(appcache|manifest)) | |
expiration: "0m" | |
- url: /(.*\.css) | |
mime_type: text/css | |
static_files: \1 | |
upload: (.*\.css) | |
- url: /statics/(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
static_files: statics/\1 | |
upload: statics/(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
- url: /fonts/(.*\.woff) | |
mime_type: application/x-font-woff | |
static_files: fonts/\1 | |
upload: fonts/(.*\.woff) | |
- url: /js/(.*\.js) | |
mime_type: text/javascript | |
static_files: js/\1 | |
upload: js/(.*\.js) | |
- url: / | |
static_files: index.html | |
upload: index.html | |
expiration: "1m" | |
- url: /(.*) | |
static_files: index.html | |
upload: index.html | |
expiration: "1m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
does this still work with Quasar 1.9.X?