Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加wepy的支持 #10

Open
self-transition opened this issue Dec 4, 2018 · 2 comments
Open

建议增加wepy的支持 #10

self-transition opened this issue Dec 4, 2018 · 2 comments

Comments

@self-transition
Copy link

No description provided.

@qwqoffice
Copy link
Owner

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

@martin-sun
Copy link

martin-sun commented Dec 30, 2018

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants