I've started a project with the new vue-cli 3.0 and I've added the qwery npm module in node package.json
npm i qwery
and in my-file.js
which is at same level as main.js
I import it the following way:
import {qwery as $q} from "qwery"
The build goes ok however in the browser $q
is undefined
and webpack has imported it as qwery__WEBPACK_IMPORTED_MODULE_8__
.
Clearly I'm not doing it the right way can somebody give me a hint what I'm doing wrong?