• 请不要在回答技术问题时复制粘贴 AI 生成的内容
gitignore
V2EX  ›  程序员

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

  •  1
     
  •   gitignore · Jul 11, 2021 · 1113 views
    This topic created in 1773 days ago, the information mentioned may be changed or developed.

    问题总结

    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 可正常运行

    Supplement 1  ·  Jul 12, 2021

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

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

    github.com/mozhs/vivic/tree/gh-pages
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5545 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:07 · PVG 11:07 · LAX 20:07 · JFK 23:07
    ♥ Do have faith in what you're doing.