@alpinejs/docs 3.3.2-revision.1 → 3.3.5-revision.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpinejs/docs",
3
- "version": "3.3.2-revision.1",
3
+ "version": "3.3.5-revision.1",
4
4
  "description": "The documentation for Alpine",
5
5
  "author": "Caleb Porzio",
6
6
  "license": "MIT"
@@ -16,3 +16,5 @@ Because of this difference in behavior, `x-if` should not be applied directly to
16
16
  ```
17
17
 
18
18
  > Unlike `x-show`, `x-if`, does NOT support transitioning toggles with `x-transition`.
19
+
20
+ > Remember: `<template>` tags can only contain one root level element.
@@ -33,7 +33,7 @@ This is by far the simplest way to get started with Alpine. Include the followin
33
33
  Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
34
34
 
35
35
  ```alpine
36
- <script defer src="https://unpkg.com/alpinejs@3.3.2/dist/cdn.min.js"></script>
36
+ <script defer src="https://unpkg.com/alpinejs@3.3.5/dist/cdn.min.js"></script>
37
37
  ```
38
38
 
39
39
  That's it! Alpine is now available for use inside your page.
@@ -371,3 +371,5 @@ The following 2 APIs will still work in V3, but are considered deprecated and ar
371
371
  })
372
372
  </script>
373
373
  ```
374
+
375
+ > Note that you need to define `Alpine.data()` extensions BEFORE you call `Alpine.start()`. For more information, refer to the [Lifecycle Concerns](https://alpinejs.dev/advanced/extending#lifecycle-concerns) and [Installation as a Module](https://alpinejs.dev/essentials/installation#as-a-module) documentation pages.