html2wxml icon indicating copy to clipboard operation
html2wxml copied to clipboard

建议增加wepy的支持

Open self-transition opened this issue 6 years ago • 2 comments

self-transition avatar Dec 04 '18 08:12 self-transition

请问是怎么样的支持?不太了解wepy

qwqoffice avatar Dec 14 '18 05:12 qwqoffice

可以在wepy内使用的: 只需要在app.wpy 里设置如下: plugins: { htmltowxml: { version: '1.3.0', provider: 'wxa51b9c855ae38f3c' } },

然后在使用到wpy文件里: 首先是在script的config里定义: usingComponents: { htmltowxml: 'plugin://htmltowxml/view' } 然后在template里可以直接调用

martin-sun avatar Dec 30 '18 08:12 martin-sun