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
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.
Code: Select all
import TreeTable from 'primevue/treetable' Vue.Component('TreeTable', TreeTable)
Using latest version of primevue 2.0.5, vue 2.6.11