Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.
This repository was archived by the owner on Aug 22, 2020. It is now read-only.

Does not work in layout #2

@krystian50

Description

@krystian50

Hi, I would like to use this serverData in my layouts (not in pages), but it's not possible. Any suggestions?

The thing is, I have a global header with many items as a links (dropdown menu etc.) and I want those links to be hydrated only server-side, since they are just links. However, there can be some troubles with a tags instead of nuxt-links, but this is something I need to check later.

I also tried to use vue-lazy-hydration, but it doesn't work, because I have to postpone my page load. The menu links are downloaded through API call (server-side).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions