Can you add optional _outer_ tags in svelte conditional statement?

后端 未结 0 1784
一生所求
一生所求 2020-11-29 01:55

Is it possible to use a conditional statement to wrap inner content with an optional outer element?

Here is an example of what I want to do in valid Svelte:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题