Newyorkcity
V2EX  ›  问与答

请问现在使用最新版的 vue-cli 创建的项目是 vue2 还是 vue3?

  •  
  •   Newyorkcity · Jan 7, 2021 · 1671 views
    This topic created in 2129 days ago, the information mentioned may be changed or developed.
    4 replies  •  2021-01-07 14:22:16 +08:00
    shyling
    shyling
    Jan 7, 2021❤️1
    1
    2
    Newyorkcity
    Newyorkcity
    OP
    Jan 7, 2021
    2
    @shyling 是不是 4. 开头的 vue-cli 都是 vue2 而 5. 开头的就是 3 了?
    coolcatha
    coolcatha
    Jan 7, 2021❤️1
    3
    用 vue-cli 新建的时候可以选择版本哦
    Vegetable
    Vegetable
    Jan 7, 2021❤️1
    4
    ? Please pick a preset: (Use arrow keys)
    ❯ Default ([Vue 2] babel, eslint)
    Default (Vue 3 Preview) ([Vue 3] babel, eslint)
    Manually select features
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   903 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 81ms · UTC 20:22 · PVG 04:22 · LAX 12:22 · JFK 15:22
    ♥ Do have faith in what you're doing.