📜  在加载 Alpine Js 之前隐藏元素 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:55.708000             🧑  作者: Mango

代码示例1
//Add `x-cloak` to any element you wish to hide while alpine loads
// It'll be removed when Alpine is loaded
... // Also add the following to your css [x-cloak] { display: none !important; }