Alpine.$persist
#2607
Replies: 1 comment 6 replies
-
Likely related to #2465 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've followed the installations instructions at https://alpinejs.dev/plugins/persist to use the
$persist
plugin. I've added alog
call in Alpine'splugin
function:and upon page load, the minified CDN distribution is logged to the console. So I assume the plugin is registering. However,
Alpine.$persist
calls result inAlpine.$persist is not a function
errors.Are the docs at https://alpinejs.dev/plugins/persist#using-alpine-persist-global outdated? How can I get persist to work with
Alpine.store
?Beta Was this translation helpful? Give feedback.
All reactions