diff --git a/docs/guide/api-vite-runtime.md b/docs/guide/api-vite-runtime.md index 45241a8fe728e9..388fef43802fd2 100644 --- a/docs/guide/api-vite-runtime.md +++ b/docs/guide/api-vite-runtime.md @@ -218,7 +218,7 @@ const __dirname = fileURLToPath(new URL('.', import.meta.url)) })() ``` -This methods serves as an easy replacement for `server.ssrLoadModule`. Unlike `ssrLoadModule`, `createViteRuntime` provides HMR support out of the box. You can pass down [`options`](#mainthreadruntimeoptions) to customize how SSR runtime behaves to suit your needs. +This method serves as an easy replacement for `server.ssrLoadModule`. Unlike `ssrLoadModule`, `createViteRuntime` provides HMR support out of the box. You can pass down [`options`](#mainthreadruntimeoptions) to customize how SSR runtime behaves to suit your needs. ## `MainThreadRuntimeOptions`