日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 前端技术 > vue >内容正文

vue

【vue】安装新版本vue-cli:@vue/cli

發(fā)布時(shí)間:2024/9/19 vue 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【vue】安装新版本vue-cli:@vue/cli 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

前言

  • nodjs v14.16.1 (在Windows系統(tǒng)安裝Nodejs、在Linux系統(tǒng)安裝Nodejs)

vue-cli 版本

vue-cli 已分為2個(gè)版本:

  • @vue/cli,這是新版本(本文安裝這版),文檔:https://cli.vuejs.org/。
  • vue-cli,這是舊版本,文檔:https://github.com/vuejs/vue-cli/tree/v2#vue-cli–.

資源

  • 官方地址:https://cli.vuejs.org/
  • 官方中文地址:https://cli.vuejs.org/zh/index.html
  • GitHub地址:https://github.com/vuejs/vue-cli
  • Gitee鏡像地址:https://gitee.com/mirrors/Vue-CLI

安裝@vue/cli

cmd> npm install -g @vue/cli npm WARN deprecated subscriptions-transport-ws@0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md npm WARN deprecated graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details. npm WARN deprecated apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details npm WARN deprecated graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/ npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated D:\sde\nodejs\node-v14.16.1-win-x64\vue -> D:\sde\nodejs\node-v14.16.1-win-x64\node_modules\@vue\cli\bin\vue.js> core-js-pure@3.21.1 postinstall D:\sde\nodejs\node-v14.16.1-win-x64\node_modules\@vue\cli\node_modules\core-js-pure > node -e "try{require('./postinstall')}catch(e){}"Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!The project needs your help! Please consider supporting of core-js: > https://opencollective.com/core-js > https://patreon.com/zloirock > https://paypal.me/zloirock > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstczAlso, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)> @apollo/protobufjs@1.2.2 postinstall D:\sde\nodejs\node-v14.16.1-win-x64\node_modules\@vue\cli\node_modules\@apollo\protobufjs > node scripts/postinstall+ @vue/cli@5.0.4 added 880 packages from 530 contributors in 147.151s

查看版本

cmd> vue --version @vue/cli 5.0.4

總結(jié)

以上是生活随笔為你收集整理的【vue】安装新版本vue-cli:@vue/cli的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。