首页 > 其他分享 >vuejs3.0 从入门到精通——脚手架安装

vuejs3.0 从入门到精通——脚手架安装

时间:2023-09-06 10:57:21浏览次数:50  
标签:node vue 入门 package vuejs3.0 server 脚手架 apollo 7.22

脚手架安装

  Vue CLI 是基于 Vue.js 进行快速开发的完整系统,支持搭建交互式项目、快速开始零配置原型开发、丰富的官方插件集合,以及完全图形化地创建和管理 Vue.js 项目的用户界面。

  Vue CLI 致力于将 Vue.js 生态中的工具基础标准化,它确保各种构件工具基于智能的默认配置即可实现平稳衔接,使用户专注在撰写应用上,而不必浪费时间纠结配置的问题。同时,Vue CLI 也为每个工具提供了调整配置的灵活性,无须 reject。

  主流的包管理工具有 3 种,分别是 npm、yarn 和 cnpm,三者选其一即可,它们都在终端使用命令运行。

一、npm

  npm 资源来自国外,通常会出现资源加载速度慢、加载失败等情况。

  使用 npm 命令全局安装 Vue CLI 脚手架:

[root@JumperServer:zuoyang] # npm install -g @vue/cli
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm WARN deprecated [email protected]: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: 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 [email protected]: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 872 packages in 1m

66 packages are looking for funding
  run `npm fund` for details
[root@JumperServer:zuoyang] # vue -V
@vue/cli 5.0.8

  使用 npm 命令卸载全局 Vue CLI 脚手架:

[root@JumperServer:zuoyang] # npm uninstall -g @vue/cli

removed 872 packages in 1s
[root@JumperServer:zuoyang] # vue -V
-bash: /usr/local/node/current/bin/vue: No such file or directory
[root@JumperServer:zuoyang] # 

二、yarn

  yarn 是 Facebook 发布的一款快速、可靠、安全的依赖管理工具。yarn 会将每个下载过的包 缓存起来,在下次依赖时不会重新下载。

  2.1、使用如下命令安装 yarn:

[root@JumperServer:zuoyang] # npm install -g yarn
added 1 package in 2s
npm notice
npm notice New major version of npm available! 9.5.1 -> 10.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.0.0
npm notice Run npm install -g [email protected] to update!
npm notice  

  2.2、使用 yarn 安装 Vue CLI 脚手架:

[root@JumperServer:zuoyang] # yarn -version
1.22.19
[root@JumperServer:zuoyang] # yarn global add @vue/cli
yarn global v1.22.19
[1/4] Resolving packages...
warning @vue/cli > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @vue/cli > @vue/cli-ui > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning @vue/cli > @vue/cli-ui > [email protected]: The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/for more details.
warning @vue/cli > @vue/cli-ui > [email protected]: 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
warning @vue/cli > @vue/cli-ui > apollo-server-express > [email protected]: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > [email protected]: The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > vue-codemod > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning @vue/cli > vue-codemod > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning @vue/cli > vue-codemod > jscodeshift > @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-types > [email protected]: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3,which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-types > [email protected]: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-server-errors` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-datasource` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-datasource > [email protected]: The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > [email protected]: The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > @vue/cli-ui > apollo-server-express > apollo-server-core > apollo-server-plugin-base > [email protected]: The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. Seehttps://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @vue/cli > vue-codemod > jscodeshift > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "@vue/[email protected]" with binaries:
      - vue
Done in 44.17s.
[root@JumperServer:zuoyang] #  

三、cnpm

  cnpm 是国内的淘宝镜像。在构建项目过程中,很多的资源包需要从国外服务器下载,受网络影响会下载失败,因此可使用淘宝镜像下载。

[root@JumperServer:zuoyang] # npm install -g cnpm --registry=https://registry.npm.taobao.org
(⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠏ idealTree:lib: sill idealTree buildDeps

changed 421 packages in 9s

28 packages are looking for funding
  run `npm fund` for details
[root@JumperServer:zuoyang] #
[root@JumperServer:zuoyang] #
[root@JumperServer:zuoyang] # cnpm -v
[email protected] (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/lib/parse_argv.js)
[email protected] (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/node_modules/npm/index.js)
[email protected] (/usr/local/node/release/node-v18.16.0-linux-x64/bin/node)
[email protected] (/usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js)
prefix=/usr/local/node/release/node-v18.16.0-linux-x64
linux x64 5.10.0-60.18.0.50.r509_2.hce2.x86_64
registry=https://registry.npmmirror.com
[root@JumperServer:zuoyang] # cnpm install -g @vue/cli
Downloading @vue/cli to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli_tmp
Copying /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli_tmp/.store/@[email protected]/node_modules/@vue/cli to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli
Installing @vue/cli's dependencies to /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/node_modules
[1/35] commander@^7.1.0 installed at node_modules/.store/[email protected]/node_modules/commander
[2/35] ini@^2.0.0 installed at node_modules/.store/[email protected]/node_modules/ini
[3/35] lodash.clonedeep@^4.5.0 installed at node_modules/.store/[email protected]/node_modules/lodash.clonedeep
[4/35] slash@^3.0.0 installed at node_modules/.store/[email protected]/node_modules/slash
[5/35] leven@^3.1.0 installed at node_modules/.store/[email protected]/node_modules/leven
[6/35] isbinaryfile@^4.0.6 installed at node_modules/.store/[email protected]/node_modules/isbinaryfile
[7/35] @types/ejs@^3.0.6 installed at node_modules/.store/@[email protected]/node_modules/@types/ejs
[8/35] deepmerge@^4.2.2 installed at node_modules/.store/[email protected]/node_modules/deepmerge
[9/35] javascript-stringify@^2.0.1 installed at node_modules/.store/[email protected]/node_modules/javascript-stringify
[10/35] debug@^4.1.0 installed at node_modules/.store/[email protected]/node_modules/debug
[11/35] envinfo@^7.7.4 installed at node_modules/.store/[email protected]/node_modules/envinfo
[12/35] @vue/cli-ui-addon-widgets@^5.0.8 installed at node_modules/.store/@[email protected]/node_modules/@vue/cli-ui-addon-widgets
[13/35] @vue/cli-ui-addon-webpack@^5.0.8 installed at node_modules/.store/@[email protected]/node_modules/@vue/cli-ui-addon-webpack
[14/35] strip-ansi@^6.0.0 installed at node_modules/.store/[email protected]/node_modules/strip-ansi
[15/35] lru-cache@^6.0.0 installed at node_modules/.store/[email protected]/node_modules/lru-cache
[16/35] validate-npm-package-name@^3.0.0 installed at node_modules/.store/[email protected]/node_modules/validate-npm-package-name
[17/35] shortid@^2.2.15 installed at node_modules/.store/[email protected]/node_modules/shortid
[18/35] js-yaml@^4.0.0 installed at node_modules/.store/[email protected]/node_modules/js-yaml
[19/35] import-global@^0.1.0 installed at node_modules/.store/[email protected]/node_modules/import-global
[20/35] fs-extra@^9.1.0 installed at node_modules/.store/[email protected]/node_modules/fs-extra
[21/35] minimist@^1.2.5 installed at node_modules/.store/[email protected]/node_modules/minimist
[22/35] recast@^0.20.3 installed at node_modules/.store/[email protected]/node_modules/recast
[23/35] boxen@^5.0.0 installed at node_modules/.store/[email protected]/node_modules/boxen
[24/35] pkg-dir@^5.0.0 installed at node_modules/.store/[email protected]/node_modules/pkg-dir
[25/35] yaml-front-matter@^4.1.0 installed at node_modules/.store/[email protected]/node_modules/yaml-front-matter
[26/35] resolve@^1.20.0 installed at node_modules/.store/[email protected]/node_modules/resolve
[27/35] ejs@^3.1.6 installed at node_modules/.store/[email protected]/node_modules/ejs
[28/35] globby@^11.0.2 installed at node_modules/.store/[email protected]/node_modules/globby
[29/35] @vue/cli-shared-utils@^5.0.8 installed at node_modules/.store/@[email protected]/node_modules/@vue/cli-shared-utils
[30/35] vue@^2.6.14 installed at node_modules/.store/[email protected]/node_modules/vue
[31/35] download-git-repo@^3.0.2 installed at node_modules/.store/[email protected]/node_modules/download-git-repo
[32/35] @types/inquirer@^8.1.3 installed at node_modules/.store/@[email protected]/node_modules/@types/inquirer
[33/35] inquirer@^8.0.0 installed at node_modules/.store/[email protected]/node_modules/inquirer
[34/35] vue-codemod@^0.0.5 installed at node_modules/.store/[email protected]/node_modules/vue-codemod
[35/35] @vue/cli-ui@^5.0.8 installed at node_modules/.store/@[email protected]/node_modules/@vue/cli-ui
deprecate shortid@^2.2.15 Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
deprecate [email protected][email protected] › @babel/plugin-proposal-class-properties@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
deprecate [email protected][email protected] › @babel/plugin-proposal-optional-chaining@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
deprecate [email protected][email protected] › @babel/plugin-proposal-nullish-coalescing-operator@^7.1.0 This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
deprecate [email protected][email protected][email protected][email protected] › source-map-resolve@^0.5.0 See https://github.com/lydell/source-map-resolve#deprecated
deprecate [email protected][email protected][email protected][email protected][email protected] › source-map-url@^0.4.0 See https://github.com/lydell/source-map-url#deprecated
deprecate [email protected][email protected][email protected][email protected][email protected] › resolve-url@^0.2.1 https://github.com/lydell/resolve-url#deprecated
deprecate [email protected][email protected][email protected][email protected][email protected] › urix@^0.1.0 Please see https://github.com/lydell/urix#deprecated
deprecate @vue/[email protected] › apollo-server-express@^3.9.0 The `apollo-server-express` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ formore details.
deprecate @vue/[email protected] › subscriptions-transport-ws@^0.11.0 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
anti semver @vue/[email protected][email protected] › @types/[email protected] › @types/express-serve-static-core@^4.17.18 delcares @types/express-serve-static-core@^4.17.18(resolved as 4.17.36) but using ancestor(apollo-server-express)'s dependency @types/[email protected](resolved as 4.17.31)
deprecate @vue/[email protected][email protected] › apollo-server-types@^3.8.0 The `apollo-server-types` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected][email protected] › apollo-server-env@^4.2.1 The `apollo-server-env` package is part of Apollo Server v2 and v3, whichare now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected][email protected] › apollo-reporting-protobuf@^3.4.0 The `apollo-reporting-protobuf` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023). This package's functionality is now found in the `@apollo/usage-reporting-protobuf` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected] › apollo-server-core@^3.12.1 The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected][email protected] › apollo-server-errors@^3.3.1 The `apollo-server-errors` package is part of Apollo Server v2 and v3,which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected][email protected] › apollo-datasource@^3.3.2 The `apollo-datasource` package is part of Apollo Server v2 and v3, whichare now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
deprecate @vue/[email protected][email protected][email protected] › apollo-server-plugin-base@^3.7.2 The `apollo-server-plugin-base` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.
Recently updated (since 2023-08-30): 41 packages (detail see file /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/node_modules/.recently_updates.txt)
  2023-09-05
    → [email protected] › @babel/[email protected] › @babel/[email protected][email protected] › caniuse-lite@^1.0.30001517(1.0.30001527) (13:47:23)
    → @vue/[email protected][email protected] › @types/[email protected] › @types/connect@*(3.4.36) (00:13:32)
  2023-09-04
    → [email protected] › @babel/preset-env@^7.10.3(7.22.15) (20:25:28)
    → [email protected][email protected] › @babel/preset-typescript@^7.1.0(7.22.15) (20:25:28)
    → [email protected][email protected] › @babel/preset-flow@^7.0.0(7.22.15) (20:25:13)
    → [email protected][email protected] › @babel/plugin-transform-modules-commonjs@^7.1.0(7.22.15) (20:25:23)
    → [email protected] › @babel/[email protected] › @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.22.15(7.22.15) (20:25:03)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-async-generator-functions@^7.22.15(7.22.15) (20:25:04)
    → [email protected] › @babel/[email protected] › @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.22.15(7.22.15) (20:25:11)
    → [email protected][email protected] › @babel/register@^7.0.0(7.22.15) (20:25:07)
    → [email protected] › @babel/[email protected] › @babel/helper-validator-option@^7.22.15(7.22.15) (20:25:03)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-for-of@^7.22.15(7.22.15) (20:25:06)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-optional-chaining@^7.22.15(7.22.15) (20:25:06)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-object-rest-spread@^7.22.15(7.22.15) (20:25:18)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-classes@^7.22.15(7.22.15) (20:25:18)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-destructuring@^7.22.15(7.22.15) (20:25:05)
    → [email protected] › @babel/[email protected] › @babel/helper-compilation-targets@^7.22.15(7.22.15) (20:25:11)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-parameters@^7.22.15(7.22.15) (20:25:06)
    → [email protected] › @babel/[email protected] › @babel/plugin-transform-block-scoping@^7.22.15(7.22.15) (20:25:05)
    → [email protected] › @babel/core@^7.10.3(7.22.15) (20:25:28)
    → [email protected][email protected] › @babel/[email protected] › @babel/plugin-transform-typescript@^7.22.15(7.22.15) (20:25:23)
    → [email protected][email protected] › @babel/[email protected] › @babel/helper-create-class-features-plugin@^7.18.6(7.22.15) (20:25:20)
    → [email protected] › @babel/[email protected] › @babel/[email protected] › @babel/helper-builder-binary-assignment-operator-visitor@^7.22.5(7.22.15) (20:25:17)
    → [email protected] › @babel/[email protected] › @babel/[email protected] › @babel/helper-create-regexp-features-plugin@^7.22.5(7.22.15) (20:25:02)
    → [email protected] › @vue/[email protected] › @babel/parser@^7.21.3(7.22.15) (20:25:04)
    → [email protected] › @babel/[email protected] › @babel/[email protected] › @babel/helper-module-imports@^7.22.5(7.22.15) (20:25:17)
    → [email protected][email protected] › @babel/[email protected] › @babel/helper-module-transforms@^7.22.15(7.22.15) (20:25:20)
    → [email protected] › @babel/[email protected] › @babel/[email protected] › @babel/helper-validator-identifier@^7.22.5(7.22.15) (20:25:01)
    → [email protected] › @babel/[email protected] › @babel/[email protected] › @babel/template@^7.22.5(7.22.15) (20:25:18)
    → [email protected][email protected] › @babel/[email protected] › @babel/[email protected] › @babel/helper-member-expression-to-functions@^7.22.15(7.22.15) (20:25:17)
    → [email protected] › @babel/types@^7.12.12(7.22.15) (20:25:14)
    → [email protected] › @babel/[email protected] › @babel/generator@^7.22.15(7.22.15) (20:25:17)
    → [email protected] › @babel/[email protected] › @babel/helpers@^7.22.15(7.22.15) (20:25:23)
    → [email protected] › @babel/[email protected] › @babel/traverse@^7.22.15(7.22.15) (20:25:22)
    → [email protected] › @babel/[email protected] › @babel/[email protected][email protected] › @babel/runtime@^7.8.4(7.22.15) (20:25:07)
  2023-09-03
    → @types/[email protected] › @types/[email protected] › @types/node@*(20.5.9) (04:03:08)
  2023-09-01
    → [email protected] › @babel/[email protected] › @babel/[email protected][email protected] › electron-to-chromium@^1.4.477(1.4.508) (14:02:22)
  2023-08-31
    → @vue/[email protected] › joi@^17.4.0(17.10.1) (23:49:19)
    → @vue/[email protected] › apollo-server-express@^3.9.0(3.12.1) (05:17:15)
    → @vue/[email protected][email protected] › @types/[email protected] › @types/qs@*(6.9.8) (04:02:08)
    → @vue/[email protected][email protected] › apollo-server-core@^3.12.1(3.12.1) (05:17:12)
Run 2 script(s) in 120ms.
All packages installed (778 packages installed from npm registry, used 9s(network 9s), speed 4.57MB/s, json 680(8.75MB), tarball 33.58MB, manifests cache hit 0, etag hit 0 / miss 0)
[@vue/[email protected]] link /usr/local/node/release/node-v18.16.0-linux-x64/bin/vue@ -> /usr/local/node/release/node-v18.16.0-linux-x64/lib/node_modules/@vue/cli/bin/vue.js

[root@JumperServer:zuoyang] # vue -V
@vue/cli 5.0.8
[root@JumperServer:zuoyang] #

标签:node,vue,入门,package,vuejs3.0,server,脚手架,apollo,7.22
From: https://www.cnblogs.com/zuoyang/p/17681689.html

相关文章

  • C#入门之基础知识
    基本结构一个C#程序主要包括以下部分:命名空间声明(Namespacedeclaration)一个classClass方法Class属性一个Main方法语句(Statements)&表达式(Expressions)注释对比于java语言,c#可以说非常相似java的package相似于c#的命名空间java的类和c#的类一样,并且对于一个c#......
  • AI 入门课程
    PracticalAIforTeachersandStudentsPracticalAIforTeachersandStudents面向教师和学生的实用AI不太深入的一个简单入门介绍;可以了解一些;欢迎关注公-众-号【TaonyDaily】、留言、评论,一起学习。Don’treinventthewheel,librarycodeistheretohelp.文......
  • 《python从入门到实践》第七章习题记录
    点击查看代码#7-1汽车租赁:编写一个程序,询问用户要租赁什么样的汽车,并打印一条消息,如“LetmeseeifIcanfindyouaSubaru”。car=input("whichcardoyoulike?>")print(f"LetmeseeifIcanfindyoua{car}")#7-2餐馆订位:编写一个程序,询问用户有多少人用......
  • OpenTK 入门 Vsync 垂直同步对刷新率的影响
    本文将和大家介绍Vsync垂直同步的开启对OpenTK应用的刷新率的影响在上一篇博客OpenTK入门初始化窗口告诉了大家如何初始化OpenTK承载OpenGL的窗口的应用,在上一篇博客基础上,咱尝试修改创建MainWindow的参数,从而测试Vsync垂直同步对刷新率的影响回顾上一篇博客提......
  • 【C++STL基础入门】队列的基础使用
    提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档@TOC前言C++标准模板库(STL)提供了一系列强大的容器和算法,方便我们在编程中处理数据和实现各种功能。其中,queue(队列)是STL中的一个重要容器,用于按照先进先出(FIFO)的顺序处理元素。本文将介绍queue的基础使用方法,帮助读者初......
  • 代码审计入门之XHCMS
    啥是xhcms熊海CMS是由熊海开发的一款可广泛应用于个人博客,个人网站,企业网站的一套网站综合管理系统,采用了前后端整套,只需要环境Apapche+Mysql+PHP5即可开箱即用。现在好像停止维护了工具准备seay源代码审计系统环境安装环境下载:https://www.lanzoux.com/izeFjfxbxah......
  • IIncrementalGenerator 增量 Source Generator 生成代码入门 从语法到语义 获取类型完
    本文告诉大家如何在使用IIncrementalGenerator进行增量的SourceGenerator生成代码时,如何从语法分析过程,将获取的语法Token转换到语义分析上,比如获取类型完全限定名。一个使用的例子是在拿到一个Token表示某个类型时,本文将演示通过语义分析获取到拿到的Token的Type类......
  • Android入门教程 | DialogFragment 的使用
    弹窗,是常见的一种提示方式。DialogFragment是在3.0时引入的,是一种特殊的Fragment,用于在Activity上展示一个模态的对话框。DialogFragment示例确定UI样式首先我们得知道做成什么样。一般来说简单的弹窗是一个标题,一端文字内容。或者带有一两个按钮。这里我们做一个有标题和文字......
  • CentOS Linux release 7.6.1810 Zabbix 4.2 快速入门与实践:构建强大的企业级资源监控
    目录:0x00Zabbix介绍0x01Zabbix安装0x02Zabbix配置0x03Zabbix-Web配置与使用0x04Zabbix实战配置0x0nZabbix入坑配置0x00Zabbix介绍描述:zabbix是一个开源的企业级性能监控解决方案,可以实时监控服务器/网络设备等硬件资源与其相关的各项指标是否是正常的,而且能够更加方便......
  • MySQL入门系列2-数据控制语言(DCL)
    一、概念DCL数据控制语言,用来管理数据库用户、控制数据库的访问权限。二、查询用户select*frommysql.user;其中Host代表当前用户访问的主机,如果为localhost,代表只能够在当前本机访问,不可以远程访问的。User代表的是访问该数据库的用户名。在MySQL中需要通过Host和User来唯......