You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Thanks for making this library! I am going to use it in my project :)
I am using SSR though and that will throw an error when you include the v-tippy directive in any template that gets rendered during SSR.
The directive needs a getSSRProps function, as explained here: https://vuejs.org/guide/scaling-up/ssr.html#custom-directives. I don't think this directive has to do anything on SSR as tooltips are not really something that is relevant for the initial HTML rendered
As a current workaround you can do something like this:
Thanks for the report! I'll definitely take a look. The v-tippy directive does add prop/attributes, but they aren't used until after everything is mounted, which is probably why the empty implementation still works. I've had my fair share of frustration with libraries that don't work in SSR, so I'm glad the workaround is so simple :)
Hello! Thanks for making this library! I am going to use it in my project :)
I am using SSR though and that will throw an error when you include the
v-tippy
directive in any template that gets rendered during SSR.The directive needs a
getSSRProps
function, as explained here: https://vuejs.org/guide/scaling-up/ssr.html#custom-directives. I don't think this directive has to do anything on SSR as tooltips are not really something that is relevant for the initial HTML renderedAs a current workaround you can do something like this:
But it would be nice to include the
getSSRProps
in the actual source.The text was updated successfully, but these errors were encountered: