Currently, I am working on a Laravel + Vue Js 3 project. Within my Tags.vue file, there is an edit button that should lead to the tag edit page. You can view the Tags.vue file through the following link: https://codepen.io/amumodaya/pen/abjqXbV
However, upon clicking the edit button, the tag edit page does not appear and the console shows the following error message:
Uncaught TypeError: _ctx.showEditModal is not a function onClick http://localhost:8000/js/app.js:20386
[Vue warn]: Unhandled error during execution of native event handler
app.js
import ViewUIPlus from 'view-ui-plus'
import 'view-ui-plus/dist/styles/viewuiplus.css'
import 'view-ui-plus/dist/styles/viewuiplus.css'
import common from './common'
createApp({
components: {
mainapp,
}
}).use(router).use(ViewUIPlus).mixin(common).mount('#app');
Can anyone guide me on how to resolve this issue?