Skip to content

serverPrefetch not called in dev #1458

@mathieutu

Description

@mathieutu
  • I confirm that this is an issue rather than a question.

Bug report

Version

1.0.0-alpha.44

Steps to reproduce

I have a serverPrefetch method in a component.
When building dist, the method is properly called and the component work.

When using dev server, the method seems to be not called.

async serverPrefetch() {
    this.foo = await fetchData();
  },

Thanks.
Matt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions