Can't access store in TipTap custom Image component NuxtJS
nuolmakara16 opened this issue ยท 7 comments
I was trying to implement custom image upload components which was describe in the tiptap-vuetify document https://www.npmjs.com/package/tiptap-vuetify#custom-image-upload-components in my nuxtjs project. Everything works perfectly until I try to access store using this.$store And it say undefined. Can someone tell me what should I do to access the nuxt store?
i have same problem, i made file manager component from before, in there i use this.$axios
to load files from server. when i want to use my component, and i can not access to $axios
@MOTA9100 I actually got this problem solved! I forgot to close!
@nuolmakara16 what is the solution?
@MOTA9100 its not working?
@nuolmakara16 this is about CkEditor not tiptap-vuetify :|
@MOTA9100 I got confused! I thoght I post this on ckiditor!
we can access to $store, $vuetify, $axios and other modules in custom image component with window.$nuxt.xxx
. remember that as before know we can do this just in client side