zoukankan      html  css  js  c++  java
  • [Vue3.0]如何创建2.0项目

    $ 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 ? 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@❤️ 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

  • 相关阅读:
    C++11中右值引用和移动语义
    面试题3:自己实现单链表
    C++中指针和引用、数组之间的区别
    C++中对象模型
    C++中虚函数的动态绑定和多态性
    C++11中多线程库
    C++中友元
    C++中迭代器原理、失效和简单实现
    C++11中智能指针的原理、使用、实现
    C++中模板与泛型编程
  • 原文地址:https://www.cnblogs.com/leoshi/p/12490766.html
Copyright © 2011-2022 走看看