-
-
Save naveenccmsd/dcf1c8dc5e66f9d3baf10f9f306e76a4 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" |
hi does this still work with the latest quasar: 1.9.X?
runtime: php55
api_version: 1
threadsafe: true
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
static_files: \1
upload: (.*\.(appcache|manifest))
expiration: "0m"
- url: /css/(.*\.css)
mime_type: text/css
static_files: css/\1
upload: css/(.*\.css)
- url: /img/(.*\.(bmp|gif|ico|jpeg|jpg|png))
static_files: img/\1
upload: img/(.*\.(bmp|gif|ico|jpeg|jpg|png))
- url: /fonts/(.*\.woff)
mime_type: application/x-font-woff
static_files: fonts/\1
upload: fonts/(.*\.woff)
- url: /fonts/(.*\.ttf)
mime_type: application/x-font-ttf
static_files: fonts/\1
upload: fonts/(.*\.ttf)
- url: /fonts/(.*\.woff2)
mime_type: application/x-font-woff2
static_files: fonts/\1
upload: fonts/(.*\.woff2)
- 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"
env_variables:
HOST: '0.0.0.0'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi does this still work with the latest quasar: 1.9.X?