-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6e1cee
commit 5e4e9ec
Showing
2 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Frequently Asked Questions | ||
|
||
## I can't use the Open In Editor feature | ||
|
||
The feature is based on the [vite-plugin-vue-inspector](https://github.com/webfansplz/vite-plugin-vue-inspector) plugin and requires configuration, which you can do by looking at the [configuration documentation](https://github.com/webfansplz/vite-plugin-vue-inspector?tab=readme-ov-file#--configuration-ide--editor). | ||
|
||
## How to work with Laravel Vite Plugin? | ||
|
||
```ts | ||
import { defineConfig } from 'vite' | ||
import laravel from 'laravel-vite-plugin' | ||
import VueDevTools from 'vite-plugin-vue-devtools' | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
DevTools({ | ||
appendTo: 'resources/js/app.js' | ||
}), | ||
laravel([ | ||
'resources/js/app.js', | ||
]), | ||
], | ||
}) | ||
``` | ||
|
||
## How to work with Nuxt3? (v7.1.3+) | ||
|
||
:::tip Recommendation | ||
We still recommend using [Nuxt DevTools](https://github.com/nuxt/devtools) for a better development experience. | ||
::: | ||
|
||
```ts | ||
// nuxt.config.ts | ||
|
||
export default defineNuxtConfig({ | ||
vite: { | ||
plugins: [ | ||
VueDevTools({ | ||
appendTo: /\/entry\.m?js$/, | ||
}) | ||
] | ||
} | ||
}) | ||
``` |