From 2c5c8bb2064e4064df31a2c133523a2114d6effc Mon Sep 17 00:00:00 2001 From: Maximo Mussini Date: Mon, 15 Mar 2021 09:51:17 -0300 Subject: [PATCH 1/2] docs: Add awesome-vite link in Backend Integrations section --- docs/guide/backend-integration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md index 45558f607acefb..0f643d8e6f7c1b 100644 --- a/docs/guide/backend-integration.md +++ b/docs/guide/backend-integration.md @@ -1,6 +1,8 @@ # Backend Integration -If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel) but use Vite for serving assets, here's what you can do: +If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel) but use Vite for serving assets, check for existing integrations listed in [Awesome Vite](https://github.com/vitejs/awesome-vite#integrations-with-backends). + +Else, you can follow these steps to configure it manually: 1. In your Vite config, configure the entry and enable build manifest: @@ -83,3 +85,4 @@ If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel) ``` + From ecb5e5c7efa5070a55dd3cd20b3dcfb0dbc8bb04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ximo=20Mussini?= Date: Mon, 15 Mar 2021 10:05:21 -0300 Subject: [PATCH 2/2] docs: Replace Else with Or Co-authored-by: Anthony Fu --- docs/guide/backend-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md index 0f643d8e6f7c1b..27d17ab1b05bb0 100644 --- a/docs/guide/backend-integration.md +++ b/docs/guide/backend-integration.md @@ -2,7 +2,7 @@ If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel) but use Vite for serving assets, check for existing integrations listed in [Awesome Vite](https://github.com/vitejs/awesome-vite#integrations-with-backends). -Else, you can follow these steps to configure it manually: +Or you can follow these steps to configure it manually: 1. In your Vite config, configure the entry and enable build manifest: