码迷,mamicode.com
首页 > 其他好文 > 详细

[Vue3.0]如何创建2.0项目

时间:2020-03-14 10:55:50      阅读:289      评论:0      收藏:0      [点我收藏+]

标签:bee   mini   项目   slist   unit   nts   coff   ase   list   

$ vue init webpack myweb


Command vue init requires a global addon to be installed.
Please run npm install -g @vue/cli-init and try again.

$ npm install -g @vue/cli-init


npm WARN deprecated vue-cli@2.9.6: This package has been deprecated in favour of @vue/cli
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)

  • @vue/cli-init@4.2.3
    added 255 packages from 207 contributors in 14.777s

    ╭────────────────────────────────────────────────────────────────╮
    │ │
    │ New minor version of npm available! 6.13.4 → 6.14.2 │
    │ Changelog: https://github.com/npm/cli/releases/tag/v6.14.2 │
    │ Run npm install -g npm to update! │
    │ │
    ╰────────────────────────────────────────────────────────────────╯

$ vue init webpack myweb


? downloading template
? Project name myweb
? Project description A Vue.js project
? Author LeoShi snoobaby@163.com
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run npm install for you after the project has been created? (recommended) npm

vue-cli · Generated "myweb".

Installing project dependencies ...

========================

npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj package for fixes and new features!
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.

fsevents@1.2.11 install /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/fsevents
node-gyp rebuild

SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node

core-js@2.6.11 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/core-js
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 on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

ejs@2.7.4 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/ejs
node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

uglifyjs-webpack-plugin@0.4.6 postinstall /Users/Leo/Dropbox/Tutorial/VUE/myweb/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.

added 1307 packages from 687 contributors in 37.999s

25 packages are looking for funding
run npm fund for details

Project initialization finished!

========================

To get started:

cd myweb
npm run dev

Documentation can be found at https://vuejs-templates.github.io/webpack

[Vue3.0]如何创建2.0项目

标签:bee   mini   项目   slist   unit   nts   coff   ase   list   

原文地址:https://www.cnblogs.com/leoshi/p/12490766.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!