From 7d65399566a06fb5afa865e755d53c2097d51cf5 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 12 Feb 2021 14:59:13 -0500 Subject: [PATCH] docs: update react preamble instruction --- docs/guide/backend-integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/backend-integration.md b/docs/guide/backend-integration.md index 7c88682a4b0018..d627caf4b7d0b2 100644 --- a/docs/guide/backend-integration.md +++ b/docs/guide/backend-integration.md @@ -35,11 +35,11 @@ If you want to serve the HTML using a traditional backend (e.g. Rails, Laravel) Also make sure the server is configured to serve static assets in the Vite working directory, otherwise assets such as images won't be loaded properly. - Note if you are using React with `@vitejs/plugin-react-refresh`, you'll also need to add this, since the plugin is not able to modify the HTML you are serving: + Note if you are using React with `@vitejs/plugin-react-refresh`, you'll also need to add this before the above scripts, since the plugin is not able to modify the HTML you are serving: ```html