当前位置: 首页 > 工具软件 > enquire.js > 使用案例 >

Vue.js 项目查看 vue版本号

潘向明
2023-12-01

vue -V或者是vue --version查询的是vue-cli的版本,也就是vue脚手架的版本。

如果想要查看vue的版本,直接去项目中,在根目录下,找到package.json文件夹 找"dependencies",然后就可以看到你装的vue的版本了

 "dependencies": {
    "@antv/data-set": "^0.11.4",
    "@form-create/ant-design-vue": "^2.5.14",
    "animate.css": "^4.1.0",
    "ant-design-vue": "1.7.2",
    "axios": "^0.19.2",
    "clipboard": "^2.0.6",
    "core-js": "^3.6.5",
    "date-fns": "^2.14.0",
    "echarts": "^5.3.3",
    "enquire.js": "^2.1.6",
    "highcharts": "^10.2.0",
    "highlight.js": "^10.2.1",
    "js-base64": "^3.7.2",
    "js-md5": "^0.7.3",
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
    "viser-vue": "^2.4.8",
    "vue": "^2.6.11",
    "vue-i18n": "^8.18.2",
    "vue-infinite-scroll": "^2.0.2",
    "vue-puzzle-vcode": "^1.1.9",
    "vue-quill-editor": "^3.0.6",
    "vue-router": "^3.3.4",
    "vue-seamless-scroll": "^1.1.23",
    "vuedraggable": "^2.23.2",
    "vuex": "^3.4.0"
  },

这个项目vue的版本是:2.6.11版本

"vue": "^2.6.11",

 类似资料: