Topic: TreeView not working: Can't resolve 'vue' in ...node_modules/mdb-vue-tree-view/js
I wanted to use the TreeView-Plugin.
But i'am getting the error "Can't resolve 'vue' in ...node_modules/mdb-vue-tree-view/js"
Installation via yarn worked: (yarn add git+https://oauth2:mytoken@git.mdbootstrap.com/mdb/vue/mdb5/plugins/prd/treeview)
IDE (PHPStorm) does not show any error on the import-line: import { MDBTreeview } from "mdb-vue-tree-view"; dependency is found (can click on it ;-))
Other Components like MDBAutocomplete are woking too.
Bruckner pro premium priority answered 3 years ago
Issue has been fixed
I don't know why, but after running "yarn add .../treeview" vue has been removed from node_modules.
just a yarn install did the trick ;-).
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- User: Pro
- Premium support: Yes
- Technology: MDB Vue
- MDB Version: MDB5 1.11.0
- Device: Mac
- Browser: Chrome
- OS: OS X
- Provided sample code: No
- Provided link: Yes