vue-element-queries
vue-element-queries copied to clipboard
Can't seem to get it to work.
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?
Hey Jack - let me take a look tomorrow and see what's bugging out.
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!
Having the same problem, no errors but doesn't seem to work. Any solution? Vue.js needs this amazing library! :)
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?