Vue入门踩坑之unresolved type vue

问题描述

在webstorm中用script标签引入vue.js,能够正常执行,但是在创建Vue对象时出现未能解析的提示
script引入vue出现unresolved type vue

解决方案:

  1. 下载Vuescript引入vue出现unresolved type vue
    script引入vue出现unresolved type vue

保存并解压

  1. 打开webstorm==> settings ==> Language&Frameworks ==> JavaScript ==> Libraries ==> 右侧Add
    script引入vue出现unresolved type vue
    点击attach files
    script引入vue出现unresolved type vue
    路径选择刚刚下载的文件夹中\vue-2.6.11\src\core
    script引入vue出现unresolved type vue不用再继续点,直接点击ok
  2. 完成
    script引入vue出现unresolved type vue

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-07-28
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-10-22
  • 2021-08-18
  • 2022-12-23
相关资源
相似解决方案