V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Newyorkcity
V2EX  ›  问与答

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

  •  
  •   Newyorkcity · 2021-01-07 11:07:20 +08:00 · 993 次点击
    这是一个创建于 1204 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2021-01-07 14:22:16 +08:00
    shyling
        1
    shyling  
       2021-01-07 11:10:51 +08:00   ❤️ 1
    2
    Newyorkcity
        2
    Newyorkcity  
    OP
       2021-01-07 11:12:52 +08:00
    @shyling 是不是 4. 开头的 vue-cli 都是 vue2 而 5. 开头的就是 3 了?
    coolcatha
        3
    coolcatha  
       2021-01-07 13:52:42 +08:00   ❤️ 1
    用 vue-cli 新建的时候可以选择版本哦
    Vegetable
        4
    Vegetable  
       2021-01-07 14:22:16 +08:00   ❤️ 1
    ? Please pick a preset: (Use arrow keys)
    ❯ Default ([Vue 2] babel, eslint)
    Default (Vue 3 Preview) ([Vue 3] babel, eslint)
    Manually select features
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3494 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:08 · PVG 19:08 · LAX 04:08 · JFK 07:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.