-
Notifications
You must be signed in to change notification settings - Fork 50
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
【h5】“React”指 UMD 全局,但当前文件是模块。请考虑改为添加导入。ts(2686) #26
Labels
bug
Something isn't working
Comments
请问下taro的版本 |
3.0.0-rc6
…---原始邮件---
发件人: "原罪"<[email protected]>
发送时间: 2020年7月7日(周二) 凌晨0:30
收件人: "iconfont-cli/taro-iconfont-cli"<[email protected]>;
抄送: "ruofeng086"<[email protected]>;"Author"<[email protected]>;
主题: Re: [iconfont-cli/taro-iconfont-cli] 【h5】“React”指 UMD 全局,但当前文件是模块。请考虑改为添加导入。ts(2686) (#26)
请问下taro的版本
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
taro 2.0的全局使用Taro,到3.0应该都切换到React了,需要适配一下 |
Hello, // pages/**/index.config.js
import { useIconFont } from '../../components/iconfont/helper';
export default {
usingComponents: Object.assign(useIconFont()),
} 不算最好的方案,所以正式版先不发布。有什么更好的建议,欢迎随时反馈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: