浏览代码

Merge pull request #1572 from webworkerJoshua/main

Documentation: Added hint in installation.md
Caleb Porzio 4 年之前
父节点
当前提交
389d9e068f
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      packages/docs/src/en/essentials/installation.md

+ 6 - 0
packages/docs/src/en/essentials/installation.md

@@ -60,3 +60,9 @@ Alpine.start()
 ```
 
 > The `window.Alpine = Alpine` bit is optional, but is nice to have for freedom and flexibility. Like when tinkering with Alpine from the devtools for example.
+
+
+> If you imported Alpine into a bundle, you have to make sure you are registering any extension code IN BETWEEN when you import the `Alpine` global object, and when you initialize Alpine by calling `Alpine.start()`. 
+
+
+[→ Read more about extending Alpine](/advanced/extending)