gpt4 book ai didi

vuetify.js - 执行vue时发生错误,添加vuetify(vue3预览)

转载 作者:行者123 更新时间:2023-12-03 17:04:13 25 4
gpt4 key购买 nike

我尝试使用vue3启动vuecli项目,但是当我添加vuetify时,使用vue2时一切正常时会发生错误。它说

Error: You cannot call "get" on a collection with no paths. Instead,check the "length" property first to verify at least 1 path exists.



有人有同样的问题,需要一些解决方案,谢谢。

最佳答案

在此链接https://vuetifyjs.com/en/getting-started/installation/
Vuetify说:

The current version of Vuetify does not support Vue 3. Support for Vue 3 will come with the release of Vuetify v3. When creating a new project, please ensure you selected Vue 2 from the Vue CLI prompts, or that you are installing to an existing Vue 2 project.

关于vuetify.js - 执行vue时发生错误,添加vuetify(vue3预览),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63543422/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com