-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
setup 使用extends 生产环境报错,文档写的是不建议 #2811
Comments
Can you explain what are you trying to do, preferably with code that works in dev but not in prod? |
Okay, let me give a simple example |
For issues related to the Chinese docs site, please create issues at the official repo https://github.com/vuejs-translations/docs-zh-cn. Thank you! |
Ah, it's an issue with English docs too. Probably needs just a note that it won't work with |
|
have any solutions for SFCs in prod ? |
"vue": "^3.3.11"
“vite”:"5.0.8"
开发环境与生产环境的qq.setup(props, ctx)不一致,开发环境返回对象可以正常使用,生产环境返回函数无法进行修改
import qq from "./qq.vue";
var se = {
extends: qq,
setup(props, ctx) {
return qq.setup(props, ctx)
},
}
期望把 此段文档进行修改
The text was updated successfully, but these errors were encountered: