Skip to content

Vue 3 SSR Support #24

@arneesh

Description

@arneesh

Does this library have inbuilt SSR support for Vue 3? It is working well on client-side, but when I ran SSR production build I got Vue reference error (added screenshot below). I also tried wrapping it in a no-ssr tag but I am still getting the error.

          <no-ssr>
                  <highlightjs
                    style="white-space: pre-wrap"
                    language="javascript"
                    :code="code"
                  />
          </no-ssr>

Is there a know way to handle it handle the SSR issue if it isn't being handled internally in this package?
The bundler that I am using is webpack

136668908-9f5259f9-c845-4619-99f3-cfea8ec64b90

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions