-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuxt not working with sound #33
Comments
Any news on this issue ? Still don't work @Tahul |
@louia @ThimoDEV Have you tried setting the config options like this? defineNuxtConfig({
[...]
},
sound: {
scan: './src/public/sounds/',
},
}); Maybe the readme is wrongly showing the |
Hi @Tahul ,
You asked for my experience with nuxt and this package. I tried to get it to work after the latest update, but it seems like it doesn't work. I have a sound in my public folder like this : public/sounds/back.wav
`<script setup>
import { useSound } from '@vueuse/sound'
const { play, sound } = useSound('/sounds/back.wav')
test `</script>
This is my test component
modules: ['@vueuse/sound/nuxt'] sound: { sounds: { scan: true, }, },
Did I have something wrong or do I need to change something to get it to work?
Thanks in advance!
The text was updated successfully, but these errors were encountered: