Kaynağa Gözat

Added reminder about template tags. (#2039)

Scott Zirkel 3 yıl önce
ebeveyn
işleme
44684d5ec3
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      packages/docs/src/en/directives/if.md

+ 2 - 0
packages/docs/src/en/directives/if.md

@@ -16,3 +16,5 @@ Because of this difference in behavior, `x-if` should not be applied directly to
 ```
 
 > Unlike `x-show`, `x-if`, does NOT support transitioning toggles with `x-transition`.
+
+> Remember: `<template>` tags can only contain one root level element.