ソースを参照

Added reminder about template tags. (#2039)

Scott Zirkel 3 年 前
コミット
44684d5ec3
1 ファイル変更2 行追加0 行削除
  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.