TreeTable Webpack Error
Posted: 29 Jul 2020, 06:33
Hello,
I'm trying to register the primevue/treetable component but keep running into a webpack error when trying to load the initial page.
From browser console:
I've tried this with brand new projects on different windows machines and I still get this same error. This error also occurs on the "Tree" component as well. All other primevue components register just fine.
Using latest version of primevue 2.0.5, vue 2.6.11
Thanks!
I'm trying to register the primevue/treetable component but keep running into a webpack error when trying to load the initial page.
From browser console:
Here is the code for registering in main.js:Uncaught TypeError: vue__WEBPACK_IMPORTED_MODULE_4__.default.Component is not a function
Code: Select all
import TreeTable from 'primevue/treetable'
Vue.Component('TreeTable', TreeTable)
Using latest version of primevue 2.0.5, vue 2.6.11
Thanks!