Skip to content

SSR Support #205

@darthf1

Description

@darthf1

Hi, I was wondering if its possible to provide (better) SSR support in general for this template? Or are there already guidelines to use this theme with SSR?

On first page load, I get the following messages in console:
image

The yellow messages are related to the CSideBar component. Wrapping this in <client-only /> fixes that. I'm still trying to find the root cause for the messages in red.

<client-only>
  <the-sidebar />
</client-only>

I'm using the theme with Nuxt. Encapsulating the whole theme/layout with <client-only /> fixes all the messages, but that kinda defeats the purpose I guess.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions