Skip to content

Commit 5e4e9ec

Browse files
committed
docs: update faq
1 parent b6e1cee commit 5e4e9ec

File tree

2 files changed

+44
-5
lines changed

2 files changed

+44
-5
lines changed

docs/guide/FAQ.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/guide/faq.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Frequently Asked Questions
2+
3+
## I can't use the Open In Editor feature
4+
5+
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).
6+
7+
## How to work with Laravel Vite Plugin?
8+
9+
```ts
10+
import { defineConfig } from 'vite'
11+
import laravel from 'laravel-vite-plugin'
12+
import VueDevTools from 'vite-plugin-vue-devtools'
13+
14+
export default defineConfig({
15+
plugins: [
16+
DevTools({
17+
appendTo: 'resources/js/app.js'
18+
}),
19+
laravel([
20+
'resources/js/app.js',
21+
]),
22+
],
23+
})
24+
```
25+
26+
## How to work with Nuxt3? (v7.1.3+)
27+
28+
:::tip Recommendation
29+
We still recommend using [Nuxt DevTools](https://github.com/nuxt/devtools) for a better development experience.
30+
:::
31+
32+
```ts
33+
// nuxt.config.ts
34+
35+
export default defineNuxtConfig({
36+
vite: {
37+
plugins: [
38+
VueDevTools({
39+
appendTo: /\/entry\.m?js$/,
40+
})
41+
]
42+
}
43+
})
44+
```

0 commit comments

Comments
 (0)