Uncaught TypeError: Object(...) is not a function
pieroliviermarquis opened this issue · comments
I get this error when using it with Vuejs2:
vue-sidebar-menu.esm.js?2ab6:3 Uncaught TypeError: Object(...) is not a function
at eval (vue-sidebar-menu.esm.js?2ab6:3)
The problem is with ref below:
var isCollapsed = ref(false);