You can alter alpinejs variables, html, and save the state into a new html-file. Basically a selfcontained CMS like tiddly wiki.
NOTE: to update alpinejs just overwrite the big minified scriptblob
selfcontained SPA html-startingpoint (in the spirit of tiddlywiki local-save CMS)
HTMLMIT