Skip to content

jQuery dependency? #2

Description

@geoidesic

I've tried a few things. Haven't got it working yet but I noticed this error:

ERROR in ./~/vue-qewd/lib/qewd/index.js
Module not found: Error: Can't resolve 'jquery' in '/Users/me/vue-qewd-test/node_modules/vue-qewd/lib/qewd'
 @ ./~/vue-qewd/lib/qewd/index.js 17:45-62
 @ ./~/vue-qewd/lib/index.js
 @ ./src/index.js
 @ multi ./build/dev-client ./src/index.js

Seems like there is a jQuery dependency in this module? It would be good to note that in the readme. Also seems a bit odd, since the idea with vue generally is to be independent of jQuery?

Looking at the source it looks like there's a flag to switch this dependency off but I can't figure out how to use it. I tried this:

var qewd = QEWD({
  application: 'vue', // application name
  log: true,
  url: '192.168.33.11:8081', // adjust this to your local environment
  use_jquery: false
});

... but that didn't work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions