Skip to content

Cannot read property '_init' of undefined on a default vue CLI project with Typescript #7

@gijsroge

Description

@gijsroge

Version: 1.5.1
Repo to reproduce: https://github.com/gijsroge/vue-router-prefetch-issue

This is a clean vue cli project with Typescript & Vue class component.

It seems to have an issue with booting the plugin right when you start the app. (see error below)

image

vue.runtime.esm.js?2b0e:5148 Uncaught TypeError: Cannot read property '_init' of undefined at Catalogue (vue.runtime.esm.js?2b0e:5148) at VueComponent.linkPrefetch (index.mjs?4f85:1) at eval (index.mjs?4f85:1) at Array.forEach (<anonymous>) at IntersectionObserver.u (index.mjs?4f85:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions