Quasar + Feathers-vuex 3.x integration issue



  • Hi!
    I’m using Feathers-vuex with Quasar.
    It worked perfectly with feathers-vuex version 2.0.5. But after upgrading to Feathers-vuex 3.2.1
    I’m getting this error:

    ERROR  Failed to compile with 1 errors                                                                                9:39:09 AM
    
    error  in ./node_modules/feathers-vuex/node_modules/@feathersjs/commons/lib/index.js
    
    Module parse failed: 'import' and 'export' may only appear at the top level (5:36)
    File was processed with these loaders:
    * ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | function __export(m) {
    |   for (var p in m) {
    >     if (!exports.hasOwnProperty(p)) export var p = m[p];
    |   }
    | }
    
    @ ./node_modules/feathers-vuex/dist/service-module/service-module.getters.js 17:0-40 55:21-22 58:33-34 78:19-20 78:32-33
    @ ./node_modules/feathers-vuex/dist/service-module/make-service-module.js
    @ ./node_modules/feathers-vuex/dist/service-module/make-service-plugin.js
    @ ./node_modules/feathers-vuex/dist/index.js
    @ ./src/store/index.js
    @ ./.quasar/app.js
    @ ./.quasar/client-entry.js
    @ multi (webpack)-dev-server/client?http://0.0.0.0:8080 (webpack)/hot/dev-server.js ./.quasar/client-entry.js
    

    Can someone please help me?



  • Maybe ask in the feathers-vuex repo on GH?

    Scott


Log in to reply