Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gijsroge opened this issue Apr 10, 2019 · 3 comments
Labels

Comments

@gijsroge
Copy link

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)

@gijsroge gijsroge changed the title Cannot read property '_init' of undefined on a default vue CLI project Cannot read property '_init' of undefined on a default vue CLI project with Typescript Apr 22, 2019
@Djaler
Copy link
Contributor

Djaler commented May 7, 2019

Same thing. Looks like this plugin doesn't work with vue-class-component

@egoist egoist closed this as completed in 5887219 May 7, 2019
@egoist
Copy link
Owner

egoist commented May 7, 2019

🎉 This issue has been resolved in version 1.5.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@egoist egoist added the released label May 7, 2019
@Djaler
Copy link
Contributor

Djaler commented May 7, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants