-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Add a deployment guide for Render #3636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In case it helps (and as additional context) Gatsby and Create React App have both added Render as an official deployment options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for creating this PR! I've left a few minor comments
|
||
That’s it! Your app will be live on your Render URL as soon as the build finishes. | ||
|
||
In order to receive direct hits using `history mode` on Vue Router, you need to add the following redirect rules in the `Redirects` tab under your site. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to receive direct hits using `history mode` on Vue Router, you need to add the following redirect rules in the `Redirects` tab under your site. | |
In order to receive direct hits using `history mode` on Vue Router, you need to add the following redirect rules in the `Redirects/Rewrites` tab under your site. |
It seems Render changed its UI a bit 😅
|
||
In order to receive direct hits using `history mode` on Vue Router, you need to add the following redirect rules in the `Redirects` tab under your site. | ||
|
||
Select `Redirects`, click on `Add Redirect Rule` button and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Select `Redirects`, click on `Add Redirect Rule` button and | |
Select `Redirects/Rewrites`, click on `Add Rule` button and |
|
||
- **Source Path:** `/*` | ||
- **Destination Path:** `/index.html` | ||
- **Status:** `200` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now Status
has two options only: Redirect
or Rewrite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @NataliaTepluhina! Will submit the suggested changes very soon.
@NataliaTepluhina I just submitted a new PR which addresses these issues. Feel free to close this one. |
This PR introduces a guide for deploying Vue.js apps on the
Render
platform. Render completely frees up developers and teams from managing infrastructure by abstracting over complexities and minimizing cognitive overhead for developers.