Cannot use <include> in <template> on Alipay
malash opened this issue · 4 comments
malash commented
Description
When lib v2 being enabled, <include>
in <template>
cause compilation error on Alipay dev tool.
Reproduct link
Reproduct steps
- Unzip the file
- Open in Alipay dev tool 2.7.2
Impact
GojiJS use this feature to import leaf-components
in components
and fails to run on latest Alipay.
Temporary solution
Replace <include>
with src
's content.
Platforms
- Baidu ( including Xiaohongshu )
- Alipay
- Toutiao
- KuaiApp
malash commented
Reopen because leaf-components
still not work with lib v2.
Veercodeprog commented
@malash is this open?
i can try fixing
Veercodeprog commented
@malash can you explain what is needed to be done.
do we have to change the include and use src attribute to include this file?