Open mrleblanc101 opened 1 year ago
I have the same issue with quasar.
use
Just Wrap it like so:
`
`
@akereachu This works for the Disqus component, but with the DisqusCount it will complain about 'shortname' missing:
TypeError: Cannot read properties of undefined (reading 'shortname')
So it needs the shortname when the component loads
Edit:
Using the component like this:
<ClientOnly placeholder="loading...">
<DisqusCount
:shortname="name"
:url="url"
:identifier="id"
></DisqusCount>
</ClientOnly>
Combined with just a local import
import { DisqusCount } from 'vue-disqus'
Using
Probably because you use
window
in script setup outside theonMounted
hook.const currentRoute = ref(window.location.pathname)
Why not simply use
const route = useRoute()
androute.fullpath
instead of referencing the window ?