Răsfoiți Sursa

Higher visibility in docs about needing x-data for things to work (#4194)

Colton Donnelly 1 an în urmă
părinte
comite
faf1430c34
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      packages/docs/src/en/essentials/installation.md

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

@@ -38,6 +38,8 @@ Notice the `@3.x.x` in the provided CDN link. This will pull the latest version
 
 That's it! Alpine is now available for use inside your page.
 
+Note that you will still need to define a component with `x-data` in order for any Alpine.js attributes to work. See <https://github.com/alpinejs/alpine/discussions/3805> for more information.
+
 <a name="as-a-module"></a>
 ## As a module