vue-element-queries icon indicating copy to clipboard operation
vue-element-queries copied to clipboard

Can't seem to get it to work.

Open jackmcdade opened this issue 7 years ago • 4 comments

Everything compiles fine without any errors so i'm pretty sure the plugin is loaded, but...just nothing happens. I've got a wrapper container like so:

<div class="wrapper" v-query">
<p>Element Test</p>
</div>

And then I have all my style stuff:

<style scoped>
.wrapper {
  ...css...
}

.wrapper[min-width="300px"] p {
  font-size: 80px;
}
</style>

But nothing happens. Where do i start debugging?

jackmcdade avatar Mar 20 '17 20:03 jackmcdade

Hey Jack - let me take a look tomorrow and see what's bugging out.

thebrubaker avatar Mar 28 '17 06:03 thebrubaker

I think the problem might be how I have my module system setup, which I'm honestly not too familiar with. I'm testing using rollup on another package to see how I can get these things compatible with all module systems. I'll update this package once I have that nailed down.

Sorry this demo didn't work for you!

thebrubaker avatar Apr 19 '17 23:04 thebrubaker

Having the same problem, no errors but doesn't seem to work. Any solution? Vue.js needs this amazing library! :)

JacopoKenzo avatar Oct 10 '18 01:10 JacopoKenzo

I recently made some updates to how this is transpiled and tested, it should be working. It could be that the container isn't hitting the width you are targeting, or you did not use Vue.use() with the package. Any errors or anything in the console?

thebrubaker avatar Oct 11 '18 20:10 thebrubaker