Closed katerlouis closed 6 years ago
It's crazy– I just can't get Sizzle to work in my vue-cli 3 setup.
And I don't find on the internet how to do so– Apologies if this is such a trivial thing to ask.
I successfully installed Sizzle as a dependency vue-cli project like so:
npm install sizzle -S
and my package.json correctly reflects that.
Where
import $ from "jquery"
works in my App.vue, I can't get a similar thing to work with Sizzle–
App.vue
Could you please help me?
The import works fine for me on codesandbox.io: https://codesandbox.io/s/zkk7jvx2lx (open the DevTools console and you'll see Sizzle logged). Hence, it looks like some configuration problem on your side.
It's crazy– I just can't get Sizzle to work in my vue-cli 3 setup.
And I don't find on the internet how to do so– Apologies if this is such a trivial thing to ask.
I successfully installed Sizzle as a dependency vue-cli project like so:
and my package.json correctly reflects that.
Where
works in my
App.vue
, I can't get a similar thing to work with Sizzle–Could you please help me?