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
微信小程序
https://github.com/AsherSun/taro-vue3-config 小程序基础库: 2.21.4 使用框架: Vue 3
Taro vue3
config/index.js
defineConstants: { __VUE_OPTIONS_API__: JSON.stringify(false), },
可以配置vue3的__VUE_OPTIONS_API__: JSON.stringify(false)。用于删除optoins API
__VUE_OPTIONS_API__: JSON.stringify(false)
optoins API
并没有生效
👽 Taro v3.4.2 Taro CLI 3.4.2 environment info: System: OS: macOS 11.2.3 Shell: 5.8 - /bin/zsh Binaries: Node: 16.4.0 - ~/.nvm/versions/node/v16.4.0/bin/node Yarn: 1.22.5 - ~/.yarn/bin/yarn npm: 7.19.0 - ~/.nvm/versions/node/v16.4.0/bin/npm npmPackages: @tarojs/components: 3.4.2 => 3.4.2 @tarojs/mini-runner: 3.4.2 => 3.4.2 @tarojs/runtime: 3.4.2 => 3.4.2 @tarojs/taro: 3.4.2 => 3.4.2 @tarojs/webpack-runner: 3.4.2 => 3.4.2 babel-preset-taro: 3.4.2 => 3.4.2 eslint-config-taro: 3.4.2 => 3.4.2
The text was updated successfully, but these errors were encountered:
等待热心的小伙伴解决问题中..., 有一些相关的 issues 可能帮助到你!
Thank you so much!
Sorry, something went wrong.
fix(vue3): 使用 setup 语法编写 vue3 内置组件,fix #11393
0712f23
感谢反馈,是因为 Taro 内部插入的中间层组件使用了 Options API 而导致,下个版本修复
fix(vue3): 使用 setup 语法编写 vue3 内置组件,fix #11393 (#11440)
604f54c
* fix(vue3): 使用 setup 语法编写 vue3 内置组件,fix #11393 * fix: ci
Successfully merging a pull request may close this issue.
相关平台
微信小程序
复现仓库
https://github.com/AsherSun/taro-vue3-config
小程序基础库: 2.21.4
使用框架: Vue 3
复现步骤
Taro vue3
config/index.js
的配置中配置如下代码:期望结果
可以配置vue3的
__VUE_OPTIONS_API__: JSON.stringify(false)
。用于删除optoins API
实际结果
并没有生效
环境信息
The text was updated successfully, but these errors were encountered: