You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,12 +15,12 @@ To get started, install Wayfinder via the Composer package manager:
15
15
composer require laravel/wayfinder
16
16
```
17
17
18
-
We also recommend installing and configuring [`vite-plugin-run`](https://github.com/innocenzi/vite-plugin-run) to ensure that your routes are generated during Vite's build step and also whenever your files change while running the Vite's dev server.
18
+
Next, install the [Wayfinder Vite plugin](https://github.com/laravel/vite-plugin-wayfinder) to ensure that your routes are generated during Vite's build step and also whenever your files change while running the Vite's dev server.
19
19
20
20
First, install the plugin via NPM:
21
21
22
22
```
23
-
npm i -D vite-plugin-run
23
+
npm i -D @laravel/vite-plugin-wayfinder
24
24
```
25
25
26
26
Then, update your application's `vite.config.js` file to watch for changes to your application's routes and controllers:
@@ -36,7 +36,7 @@ export default defineConfig({
36
36
});
37
37
```
38
38
39
-
[Wayfinder vite plugindocumentation](https://github.com/laravel/vite-plugin-wayfinder).
39
+
You can read about all of the plugin's configuration options in the [documentation](https://github.com/laravel/vite-plugin-wayfinder).
0 commit comments