V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
gitignore
V2EX  ›  程序员

[email protected]+ compiler 编译出的代码, slot fallback content 不兼容 2.6.12 及以下版本是否合理?

  •  1
     
  •   gitignore · 2021-07-11 14:36:23 +08:00 · 714 次点击
    这是一个创建于 1033 天前的主题,其中的信息可能已经有所发展或是发生改变。

    问题总结

    1. [email protected]+ compiler 编译出来的代码,slot fallback content 不兼容 2.6.12 及以下版本运行时的合理性;
    2. 若不兼容是合理的,那么下文中提到的 npm package dependencies 问题应该如何处理;
    3. 某些开源项目(如 antd for vue 、element for react 、antvis/G2 、antvis/G2Plot 等) 未使用 package-lock.json 或 yarn.lock 的原因是什么;

    注:此处的兼容指的是,v2.6.13+ compiler 编译出的代码在 v2.6.12 及以下环境中使用存在问题,但低版本 compiler 编译出来的代码在高版本 vue 可正常运行

    第 1 条附言  ·  2021-07-12 00:47:29 +08:00

    🐶 pr 已被关闭hh,@posva 回复仍旧是不需要兼容低版本

    Templates compiled with a version are compatible with apps using that version and above only
    
    gitignore
        1
    gitignore  
    OP
       2021-07-11 14:41:12 +08:00
    新账号不能在 描述里面添加描述信息,所以在这里有具体描述:

    github.com/mozhs/vivic/tree/gh-pages
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   956 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:44 · PVG 04:44 · LAX 13:44 · JFK 16:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.