Ok, weirdo. I tried to install the plugin in a “base” quasar project and everything works with no errors. By “base project” I mean: answer no to all the questions at quasar init
phase, especially don’t use a linter (I really think this is the point…).
Then I created project2 answering yes to all, and got the same your issue:
/tmp/project2/src/pages/index.vue
24:18 error 'FileTransfer' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
In project2 then I tried to disable the linter… and everything worked as expected (I disable the linter commenting the body of extendWebpack (cfg)
in quasar.conf.js
, not sure if it’s the right way but the linter was disabled).
index.vue:
<template>
<q-page class="flex flex-center">
<div>
{{ foo }}
</div>
<img alt="Quasar logo" src="~assets/quasar-logo-full.svg">
</q-page>
</template>
<style>
</style>
<script>
export default {
name: 'PageIndex',
data: function () {
return {
foo: ''
}
},
created: function () {
this.foo = FileTransfer
}
}
</script>
Well, hope this gives you some help. Let us know.
