Skip to content

想问一下用taro写的组件可以接入用react/vue写的h5项目吗?还是只能接入用taro写的h5项目 #13931

Answered by ZakaryCode
MForza822 asked this question in Q & A
Discussion options

You must be logged in to vote

可以接入普通 h5 项目,有两种形式:

  1. 通过 native-componets 编译,与普通组件一样引入项目;
  2. 不进过编译,引入 taro 运行时相关依赖,参考 @tarojs/plugin-platform-h5 相关设置

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ZakaryCode
Comment options

You must be logged in to vote
1 reply
@honlyHuang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
None yet
4 participants