You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to integrate guppy in a quasar-js/vue project. My test component looks like this:
<template>
<div>
<div id="guppy1" style="width:400px;"/>
</div>
</template>
<script>
import Guppy from 'guppy-js/guppy.min.js'
export default {
created () {
var g1 = new Guppy('guppy1')
},
}
</script>
<style></style>
But I am getting an error:
vue.runtime.esm.js?5593:619 [Vue warn]: Error in created hook: "TypeError: Cannot set property 'tabIndex' of null"
found in
---> <Guppy> at src/components/Guppy.vue
[...]
Which is most likely caused in
byt the fact that document is not available. What would be a proper way to handle this?
The text was updated successfully, but these errors were encountered:
Also, this /node_modules/guppy-js/style/guppy-default.min.css does not exist, namely the style dir does not exist.
It does not complain but it does not load anything either.
Once style/ is removed the frame is loaded but icons loaded by .js file are not found.
So many things are off that I am not sure what to do. Any tips?
Hi, I am trying to integrate guppy in a quasar-js/vue project. My test component looks like this:
But I am getting an error:
Which is most likely caused in
byt the fact that
document
is not available. What would be a proper way to handle this?The text was updated successfully, but these errors were encountered: