navilo 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,13 +31,17 @@ Navilo automatically generates a route tree from your `src/app` (or custom) dire
|
|
|
31
31
|
## Quick Start
|
|
32
32
|
|
|
33
33
|
### Vite Config
|
|
34
|
+
|
|
34
35
|
1. Install react router dom since its our peer dependency
|
|
36
|
+
|
|
35
37
|
```bash
|
|
36
38
|
npm install react-router-dom@6.16.0
|
|
37
39
|
|
|
38
|
-
```
|
|
40
|
+
```
|
|
41
|
+
|
|
39
42
|
2.Add the navilo to plugin in vite config
|
|
40
43
|
|
|
44
|
+
```ts
|
|
41
45
|
// vite.config.ts
|
|
42
46
|
import {defineConfig} from 'vite';
|
|
43
47
|
import react from '@vitejs/plugin-react';
|