From 7b7229d796bbf9342886c8b596de55f9a279fb06 Mon Sep 17 00:00:00 2001 From: zkdiff <37495954+zkdiff@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:01:42 -0800 Subject: [PATCH] fix(docs): typos --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0b83537..fde69d3 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,7 @@ Checkout the [Example](./example/) to see a working demo ### Usage -Install the dependencies -`npm install --save-dev vite-plugin-react-router-remix-routes @remix-run/dev` +Install the dependencies `npm install --save-dev vite-plugin-react-router-remix-routes @remix-run/dev` Configure the vite plugin @@ -23,7 +22,7 @@ export default defineConfig(() => { }); ``` -Import the remix routes from the plugin and pass to the createRouter +Import the remix routes from the plugin and pass to `createRouter()` ``` import * as React from "react"; @@ -41,5 +40,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render( ); ``` -This is the virtual module generated by vite to contain the file base route tree -`import remixRoutes from "react-router-remix-routes";` +This is the virtual module generated by vite to contain the file based route tree `import remixRoutes from "react-router-remix-routes";`