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或者app.config.js里写如下代码
export default defineAppConfig({ pages: [ 'pages/chat/chat', 'pages/index/index', ], window: { backgroundTextStyle: 'light', navigationBarBackgroundColor: '#fff', navigationBarTitleText: 'WeChat', navigationBarTextStyle: 'black' }, usingComponents: Object.assign({ iconfont: `components/iconfont/${process.env.TARO_ENV}/${process.env.TARO_ENV}`, }) })
usingComponents和window同级,引入的话不要引入helper文件,会报错的,,直接在这里配置 iconfont: components/iconfont/${process.env.TARO_ENV}/${process.env.TARO_ENV}, 完美解决
components/iconfont/${process.env.TARO_ENV}/${process.env.TARO_ENV}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
大家直接在app.config.ts或者app.config.js里写如下代码
usingComponents和window同级,引入的话不要引入helper文件,会报错的,,直接在这里配置 iconfont:
components/iconfont/${process.env.TARO_ENV}/${process.env.TARO_ENV}
, 完美解决The text was updated successfully, but these errors were encountered: