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.

Hey,

I appreciate your efforts put forth for this awesome library. I’m using Vue SSR for my project and would like to use vue2-editor. Right now, I’m facing an error: Failed to resolve async component default: ReferenceError: document is not defined

I’ve tried multiple workarounds but no luck so far. Can you please extend the library to support SSR?

Thanks in advance.

Regards

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
davidroyercommented, Oct 5, 2018

Vue2Editor can be used with Nuxt. You can check out the demo example here: https://codesandbox.io/embed/rynzn4r2nn

1reaction
connecteevcommented, Dec 21, 2019

@davidroyer thanks for the example but this does not have SSR enabled…it uses <no-ssr …> Is it possible to get this working with Nuxt.js in SSR mode?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Server-Side Rendering - Vite
Vite provides built-in support for server-side rendering (SSR). The Vite playground contains example SSR setups for Vue 3 and React, which can be...
Read more >
SSR Support for AWS Amplify JavaScript Libraries
Enabling Server-Side Rendering (SSR) support in an Amplify app. When using the Amplify CLI, the aws-exports.js file gets created and updated ...
Read more >
Server-Side Rendering (SSR) - Vue.js
Vite SSR # ... Vite provides built-in support for Vue server-side rendering, but it is intentionally low-level. If you wish to go directly...
Read more >
Using Server-side Rendering (SSR) - Gatsby
Server-side Rendering (SSR) is one of Gatsby's rendering options and allows you to pre-render a page with data that is fetched when a...
Read more >
Getting Started with Server-Side Rendering (SSR) - JavaScript
For client-only apps, Amplify.configure(awsExports) is all you need. To enable SSR support, also provide ssr: true :.
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