We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f5f5e2 commit 71a06aaCopy full SHA for 71a06aa
README.md
@@ -44,6 +44,18 @@ export default defineNuxtConfig({
44
})
45
```
46
47
+Also, to enable Dev server compatibility with Pusher, you need to add the following Vite configuration to your `nuxt.config.js`:
48
+
49
+```typescript
50
+export default defineNuxtConfig({
51
+ vite: {
52
+ optimizeDeps: {
53
+ include: ['pusher-js'],
54
+ },
55
56
+})
57
+```
58
59
That's it! You can now use Nuxt Laravel Echo in your Nuxt app ✨
60
61
## Contribution
0 commit comments