-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work without npm #13
Comments
I also have this problem.... |
What i did is just use tiny-cookie plugin directly. Without this wrapper. Works as a charm! |
yep, it's broken, I think in the build (the code in there in the source to do the right thing, and properly export) |
Try adding this code before your Vue code and after including tiny-cookie and Vue core's JS :
|
import Vue from 'vue';
import VueCookie from 'vue-cookie';
Vue.use(VueCookie); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
When i copy paste the build/vue-cookie.js to my own project and include below the vue.js include and try to call this.$cookie or Vue.cookie i get: Undefined get for undefined.
Does this work without npm?
The text was updated successfully, but these errors were encountered: