redengineer / redmini

小红书小程序
17 stars 4 forks source link

支持在 template 的 is 标签中使用模板语法 #1

Closed AdvancedCat closed 2 years ago

AdvancedCat commented 2 years ago

新功能是为了解决什么问题(必填)?

使用Taro生成小红书小程序

期望的API是什么形式的(写下新功能调用方式的伪代码,选填)

请小红书研发大佬们快快支持一下 「is 标签中使用模板语法」 的功能吧,这是Taro生成xhsml的基础

目前Taro已创建了「小红书小程序平台插件」仓库,但是需要使用template的is标签支持模板语法,目前走不下去了 插件地址:https://github.com/NervJS/taro-plugin-platform-xhs

AdvancedCat commented 2 years ago

RedMini文档里提到 template is标签支持 mustache 语法,但实际并没有支持

https://miniapp-open.xiaohongshu.com/docs/frame/template

Edge00 commented 2 years ago

RedMini文档里提到 template is标签支持 mustache 语法,但实际并没有支持

https://miniapp-open.xiaohongshu.com/docs/frame/template

template 标签的 is 属性支持 mustache 语法将在 3~4 月支持,文档会修正,感谢!

l644738595 commented 2 years ago

现在支持了么

Edge00 commented 2 years ago

@l644738595 该功能正在测试中,开发者工具 1.59.23.beta15,基础库 3.18.1 已经支持!

l644738595 commented 2 years ago

@Edge00 这个版本我们可以先用么 在哪里下载呀

Edge00 commented 2 years ago

@l644738595 可以的:

l644738595 commented 2 years ago

@Edge00 有没有taro3 的例子呀 自己启动不起来

xutm commented 2 years ago

官方文档已经更新,看看能不能解决你的问题。 https://miniapp.xiaohongshu.com/docs/ide/frameworkdevelop#Taro