goji-js icon indicating copy to clipboard operation
goji-js copied to clipboard

Cannot use <include> in <template> on Alipay

Open malash opened this issue 4 years ago • 0 comments

Description

When lib v2 being enabled, <include> in <template> cause compilation error on Alipay dev tool.

image

Reproduct link

lib2-issue.zip

Reproduct steps

  1. Unzip the file
  2. 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

  • [ ] WeChat
  • [ ] Baidu ( including Xiaohongshu )
  • [ ] QQ
  • [x] Alipay
  • [ ] Toutiao
  • [ ] KuaiApp

malash avatar Dec 14 '21 16:12 malash