'Server-side rendering - Vue 3 - Async Components
Is there a way to render async components with vue/server-renderer?
I followed the instructions here (https://vuejs.org/guide/components/async.html) and it is well working client-side but while rendering server-side this error is thrown:
On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
