Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hostwithquantum/runway-example-vue
example vue app for runway
https://github.com/hostwithquantum/runway-example-vue
planetary-quantum runway vue
Last synced: about 1 month ago
JSON representation
example vue app for runway
- Host: GitHub
- URL: https://github.com/hostwithquantum/runway-example-vue
- Owner: hostwithquantum
- Created: 2022-07-14T13:14:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:05:40.000Z (5 months ago)
- Last Synced: 2024-08-13T10:45:39.301Z (5 months ago)
- Topics: planetary-quantum, runway, vue
- Language: Vue
- Homepage: https://www.runway.horse/
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Runway Example vue App
This is an example app demonstrating how to deploy a vue app
to [runway](https://www.runway.horse/).* clone this repo, and navigate into that directory
* `runway app create`
* `runway app deploy`
* `runway open`You can then deploy changes by `git commit`ing them, and running `runway app
deploy` again.This is a vue project created with `npm init vue@latest`. That initializes
a project that can be run locally, via `npm run dev`, but it doesn't set up
a production/deployment environment.This example uses a node static file server to serve the vue build:
* `npm install --save http-server`
* `npm pkg set scripts.start='http-server --port $PORT --gzip true ./dist'`There are other possibilities, including [running vue with server-side
rendering](https://vitejs.dev/guide/ssr.html). The important thing for
deployment on runway is:* in `package.json`, `scripts.start` then starts the server
* the server must listen on the port given by the environment variable `PORT`