Skip to content

[FR]: 问个问题 为什么taro.tsx文件里面 有时候div不用view #2065

Answered by eiinu
adolfheir asked this question in Q&A
Discussion options

You must be logged in to vote

在使用 @tarojs/plugin-html 插件的情况下,div 标签会被映射为 View 组件,二者没有区别。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adolfheir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2062 on March 19, 2024 03:06.