【vue】安装新版本vue-cli:@vue/cli
生活随笔
收集整理的這篇文章主要介紹了
【vue】安装新版本vue-cli:@vue/cli
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
前言
- nodjs v14.16.1 (在Windows系統(tǒng)安裝Nodejs、在Linux系統(tǒng)安裝Nodejs)
vue-cli 版本
vue-cli 已分為2個版本:
- @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總結
以上是生活随笔為你收集整理的【vue】安装新版本vue-cli:@vue/cli的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 给27寸IMAC一体机更换固态硬盘ima
- 下一篇: 水泥做花盆(手工制作水泥花盆教程)