You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have solved this problem.
I put "import FileManage from..." both in main.js and HelloWorld.vue that reference file-manager component, remove the import statement from HelloWord.vue, it's ok
vue 2.6.14 filemanager 2.5.3
main.js
...
import store from './store'
Vue.config.productionTip = false
import FileManager from 'laravel-file-manager'
Vue.use(FileManager, {store})
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
error:
init.js?8fed:11 Please provide a store!!
vue.runtime.esm.js?c320:619 [Vue warn]: Error in render: "TypeError: Vue.component is not a function"
found in
---> at src/components/HelloWorld.vue
at src/views/HomeView.vue
at src/App.vue
The text was updated successfully, but these errors were encountered: