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
文件夹繁琐, 不用创建多余文件,有需要的时候才会创建
希望在 app.config.ts 里面可以有一个子页面配置的默认值, 如果我们需要子页面 config , 就像现在一样创建 config 文件,再 merge 得到最终 config, 如果不需要,则使用默认 config
或者像之前的 API 一样 ,写在 class 的 static 属性里面也行
The text was updated successfully, but these errors were encountered:
defineAppConfig
definePageConfig
duplicate #10348
Sorry, something went wrong.
Taro v3.4 开始支持,新增两个编译时宏函数,文档:
No branches or pull requests
这个特性解决了什么问题?
文件夹繁琐, 不用创建多余文件,有需要的时候才会创建
这个 API 长什么样?
希望在 app.config.ts 里面可以有一个子页面配置的默认值,
如果我们需要子页面 config , 就像现在一样创建 config 文件,再 merge 得到最终 config,
如果不需要,则使用默认 config
或者像之前的 API 一样 ,写在 class 的 static 属性里面也行
The text was updated successfully, but these errors were encountered: