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 3c4978b commit 31ae87fCopy full SHA for 31ae87f
README.md
@@ -260,7 +260,15 @@ export default {
260
}
261
</script>
262
```
263
+## Vite
264
265
+If you are using Vite, you should add the following to your defineConfig options in vite.config.js:
266
+
267
+```js
268
+optimizeDeps: {
269
+ exclude: ['vue-demi']
270
+}
271
+```
272
273
## Nuxt
274
src/index.ts
@@ -24,7 +24,7 @@ export function useSound(
24
onMounted(async () => {
25
const howler = await import('howler')
26
27
- HowlConstructor.value = howler.Howl
+ HowlConstructor.value = howler.default.Howl
28
29
sound.value = new HowlConstructor.value({
30
src: unref(url) as string,
0 commit comments