i'm trying to get an editor but i keep getting
Cannot find module '@tinymce/tinymce-vue'
this is my html and script component in which i want to display the editor
<template>
<div id="app">
<editor
api-key="no-api-key"
:init="{
height: 500,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help wordcount'
],
toolbar:
'undo redo | formatselect | bold italic backcolor | \
alignleft aligncenter alignright alignjustify | \
bullist numlist outdent indent | removeformat | help'
}"
/>
</div>
</template>
<script>
import Editor from '@tinymce/tinymce-vue'
export default {
name: 'app',
components: {
'editor': Editor
}
}
</script>
after installing tinymce i get the error shown below
✖ Nuxt Fatal Error │
│ │
│ Error: │
│ │
│ Vue packages version mismatch: │
│ │
│ - vue@3.2.40 │
│ - vue-server-renderer@2.6.14 This may cause things to work incorrectly. Make sure to use the same version for both.
this is my package.json file, as written here tinymce is installed
{
"name": "admin",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
"dependencies": {
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/pwa": "^3.3.5",
"@tinymce/tinymce-vue": "^5.0.0",
"bootstrap": "^4.6.0",
"bootstrap-vue": "^2.21.2",
"cloudinary": "^1.28.1",
"connect-multiparty": "^2.2.0",
"core-js": "^3.15.1",
"nedb": "^1.8.0",
"nuxt": "^2.15.7",
"pusher": "^5.0.1"
},
}
please how can i go about this