Go to comments

不同 @vue/clic 版本的 package.json

袁老师课件

@vue/cli 4.5.8 

v12.22.11

{
  "name": "my-site",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build --modern",
    "test:Pager": "vue serve ./src/components/Pager/test.vue",
    "test:Avatar": "vue serve ./src/components/Avatar/test.vue",
    "test:Icon": "vue serve ./src/components/Icon/test.vue",
    "test:Empty": "vue serve ./src/components/Empty/test.vue",
    "test:ImageLoader": "vue serve ./src/components/ImageLoader/test.vue",
    "test:Contact": "vue serve ./src/components/SiteAside/Contact/test.vue",
    "test:Menu": "vue serve ./src/components/SiteAside/Menu/test.vue",
    "test:SiteAside": "vue serve ./src/components/SiteAside/test.vue",
    "test:Layout": "vue serve ./src/components/Layout/test.vue",
    "test:RightList": "vue serve ./src/views/Blog/components/RightList-test.vue"
  },
  "dependencies": {
    "axios": "^0.21.0",
    "core-js": "^3.6.5",
    "highlight.js": "^10.5.0",
    "mockjs": "^1.1.0",
    "nprogress": "^0.2.0",
    "querystring": "^0.2.0",
    "vue": "^2.6.11",
    "vue-router": "^3.4.9",
    "vuex": "^3.6.2"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "less": "^3.0.4",
    "less-loader": "^5.0.0",
    "vue-template-compiler": "^2.6.11",
    "webpack-bundle-analyzer": "^4.4.0"
  }
}


‎2023‎年‎10‎月‎31‎日 ‏‎15:22:42

@vue/cli 4.5.19

v12.22.12

{
  "name": "my-site-cli4.5.19",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "test:unit": "vue-cli-service test:unit",
    "test:Pager": "vue serve ./src/components/Pager/preview.vue",
    "test:Icon": "vue serve ./src/components/Icon/preview.vue",
    "test:Avatar": "vue serve ./src/components/Avatar/preview.vue",
    "test:Empty": "vue serve ./src/components/Empty/preview.vue",
    "test:ImageLoader": "vue serve ./src/components/ImageLoader/preview.vue",
    "test:Contact": "vue serve ./src/components/SiteAside/Contact/preview.vue",
    "test:Menu": "vue serve ./src/components/SiteAside/Menu/preview.vue",
    "test:SiteAside": "vue serve ./src/components/SiteAside/preview.vue",
    "test:Layout": "vue serve ./src/components/Layout/preview.vue",
    "test:RightList": "vue serve ./src/views/Blog/components/RightList-preview.vue"
  },
  "dependencies": {
    "axios": "^1.6.2",
    "core-js": "^3.6.5",
    "highlight.js": "^11.9.0",
    "mockjs": "^1.1.0",
    "vue": "^2.6.11",
    "vue-router": "^3.2.0",
    "vuex": "^3.4.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.19",
    "@vue/cli-plugin-router": "~4.5.19",
    "@vue/cli-plugin-unit-jest": "~4.5.19",
    "@vue/cli-plugin-vuex": "~4.5.19",
    "@vue/cli-service": "~4.5.19",
    "@vue/test-utils": "^1.0.3",
    "less": "^3.0.4",
    "less-loader": "^5.0.0",
    "vue-template-compiler": "^2.6.11"
  }
}






Leave a comment 0 Comments.

Leave a Reply

换一张