老师,我的出现这个警告,运行后总是在首页,到不了ContactList这个页面

来源:4-1 项目环境配置

qq_慕莱坞9514436

2021-07-18 17:19

in ./node_modules/vant/es/config-provider/ConfigProvider.js      


"export 'computed' was not found in 'vue'


 warning  in ./node_modules/vant/es/loading/Loading.js


"export 'createVNode' (imported as '_createVNode') was not found in 'vue'  


 warning  in ./node_modules/vant/es/loading/Loading.js


"export 'defineComponent' was not found in 'vue'


 warning  in ./node_modules/vant/es/composables/use-route.js


"export 'getCurrentInstance' was not found in 'vue'


 warning  in ./node_modules/vant/es/icon/Icon.js


"export 'inject' was not found in 'vue'


 warning  in ./node_modules/vant/es/config-provider/ConfigProvider.js      


"export 'provide' was not found in 'vue'


 warning  in ./node_modules/vant/es/locale/index.js


"export 'reactive' was not found in 'vue'


 warning  in ./node_modules/vant/es/locale/index.js


"export 'ref' was not found in 'vue'


 warning  in ./node_modules/vant/es/utils/dom/style.js


"export 'unref' was not found in 'vue'


写回答 关注

2回答

  • 小张浣浣
    2022-03-23 17:10:11

    我也是 解决了吗

  • 一只头发很多的程序猿
    2021-10-19 17:44:21

    应该是文件中没有找到这些方法吧

axios在vue中的使用

本课程介绍了如何在vue项目中优雅的使用Axios。

27657 学习 · 157 问题

查看课程

相似问题