Newyorkcity
V2EX  ›  问与答

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

  •  
  •   Newyorkcity · Jan 7, 2021 · 1450 views
    This topic created in 1978 days ago, the information mentioned may be changed or developed.
    4 replies    2021-01-07 14:22:16 +08:00
    shyling
        1
    shyling  
       Jan 7, 2021   ❤️ 1
    2
    Newyorkcity
        2
    Newyorkcity  
    OP
       Jan 7, 2021
    @shyling 是不是 4. 开头的 vue-cli 都是 vue2 而 5. 开头的就是 3 了?
    coolcatha
        3
    coolcatha  
       Jan 7, 2021   ❤️ 1
    用 vue-cli 新建的时候可以选择版本哦
    Vegetable
        4
    Vegetable  
       Jan 7, 2021   ❤️ 1
    ? 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   ·   Solana   ·   3129 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:56 · PVG 20:56 · LAX 05:56 · JFK 08:56
    ♥ Do have faith in what you're doing.