SSR Support
See original GitHub issueHey,
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:
- Created 5 years ago
- Reactions:3
- Comments:12 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Vue2Editor can be used with Nuxt. You can check out the demo example here: https://codesandbox.io/embed/rynzn4r2nn
@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?