Home

Issue: 1568

document undefined with type.js module

[issue link]

typed.js:
https://github.com/mattboldt/typed.js/tree/9905c0b2d6b79a207211b818da63600d30af1212

I was trying to use typed.js in my pages/index.vue like this

// pages/index.vue

But when I try to access the element, it says that the document is not found. Is there any way to solve this? Also, if there is a solution, where would be the best place that I should declare the “options” and instantiate a new Typed within exports default {} ?

This question is available on Nuxt.js community (#c1399)