Closed muhammedjenos closed 1 year ago
Solved. Vue version 2.7 mess up with the composition api plugin. Keep Vue at 2.6.14 and below and the plugin worked as expected
Hello @muhammedjenos, Il have the exact same problem. How did you keep Vue at 2.6.14 or below? Is it with an override in your package.json file like this:
"overrides": {
"vue": "2.6.14",
}
?
Thanks :)
Hi @deodat, I uninstalled vue and re-installed 2.6.14 and locked the version. In package.json: "vue": "2.6.14"
Thanks @muhammedjenos, that's what I did and it worked :)
For "nuxt": "^2.15.8"
Uninstall Vue packages
yarn remove vue vue-server-renderer vue-template-compiler
or npm uninstall vue vue-server-renderer vue-template-compiler
Re-install Vue packages version 2.6.14
yarn add vue@2.6.14 vue-server-renderer@2.6.14 vue-template-compiler@2.6.14
or npm install vue@2.6.14 vue-server-renderer@2.6.14 vue-template-compiler@2.6.14
In package.json
lock versions
If you use yarn, use resolutions
"resolutions": {
"vue": "2.6.14",
"vue-server-renderer": "2.6.14",
"vue-template-compiler": "2.6.14"
}
If you use npm, use overrides
"overrides": {
"vue": "2.6.14",
"vue-server-renderer": "2.6.14",
"vue-template-compiler": "2.6.14"
}
Then delete your package manager's lock file
rm -f yarn.lock
And reinstall it
yarn install
or npm install
@muhammedjenos dumb question: how do you install v2 of this plugin?
$ npm install @marvr/storyblok-rich-text-vue-renderer@2.0.1
doesn't seem to do the trick?
I have had the v2 version implemented for a while now in a Nuxt 2 project and everything was working fine until couple of days ego. Now the rich text renderer give warnings like:
not just linkType but all other tags as well. Refreshing the page a server error warning with the console now showing
I have deleted and reinstalled node packages, tried different version of composition-api etc..etc..and now run out of options.
Could some expert here point me to the right direction what could be the issue?