We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cli创建的项目,引用子组件时候,必须要在子组件明确定义 defineOptions({ options: { virtualHost: true } }) 才能正确编译到微信小程序
defineOptions({ options: { virtualHost: true } })
The text was updated successfully, but these errors were encountered:
版本如下
Sorry, something went wrong.
这是在子组件定义virtualHost为false或者不定义defineOptions时候渲染的 defineOptions({ options: { virtualHost: false } })渲染出来的
defineOptions({ options: { virtualHost: false } })
我之前开发的时候也遇到过,支付宝小程序和微信小程序的默认值不一样。之前还发现文档中还有很多其他错误,反正不要太相信文档就好了。
No branches or pull requests
cli创建的项目,引用子组件时候,必须要在子组件明确定义
defineOptions({ options: { virtualHost: true } })
才能正确编译到微信小程序
The text was updated successfully, but these errors were encountered: