question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I understand that Tippy is a client library, but I think the Vue component should support server-side rendering.

  1. Currently, if I use the <tippy> component, the slot.default get rendered on the server-side and the slot.trigger. Only the slot.trigger should be rendered on the server-side as the trigger doesn’t require Window/Document access, unlike the tooltip which need it for positioning.

2021-04-27 15 13 25

  1. To prevent this, I can wrap the component in a <client-only> tag, but then the trigger is not rendered on the server-side, which is odd because you see it appear after the page is server by Nuxt.

2021-04-27 15 16 24

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mrleblanc101commented, Aug 12, 2021

Still an issue. Can this be reopened ? This would be a nice upgrade for v6 which is in alpha currently.

1reaction
mrleblanc101commented, Feb 28, 2022

@KABBOUCHI Could @jaulz merge request be backported to the v4 version of the plugin for Vue 2 user ? I’m using Vue-tippy in a Nuxt 2 project which is Vue 2 only.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server Side Rendering - Nuxt
Server-side rendering (SSR), is the ability of an application to contribute by displaying the web-page on the server instead of rendering it in...
Read more >
Nuxt.js Server Side Rendering (SSR) support #1860 - GitHub
Given the current support for Next.js SSR, I'd like to have a similar option for Vue developers. Describe the solution you'd like. I'd...
Read more >
How To Use Server-Side Rendering with Nuxt.js - DigitalOcean
Nuxt.js is a framework for Vue.js applications that can solve this problem with server-side ... Rendering mode: Universal (SSR / SSG) ?
Read more >
Creating Server-side Rendered Vue.js Apps Using Nuxt.js
Nuxt.js is based off an implementation of SSR for the popular React library ... in January 2018 and is part of an active...
Read more >
Amplify JavaScript adds server-side rendering (SSR) support ...
Amplify JavaScript adds server-side rendering (SSR) support for frameworks like Next.js and Nuxt.js ... Amplify JavaScript is part of the open ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found