Error after installing vant
Error message: app.js:127 Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_10__.ref) is not a function
Solution: check whether the versions of vant and vue we use in our package.json
file are consistent, if not, uninstall Vant and reinstall
solution:
- Uninstall vant
yarn remove vant
- Reinstall vant:
yarn add [email protected]
tips:
Make the versions of vant and vue consistent
So this headache problem is solved~~~