Sen descrición

Ryan Chandler 3e5523830f chore(docs) %!s(int64=5) %!d(string=hai) anos
.github f2a69b9e4e chore(remove workflows) %!s(int64=5) %!d(string=hai) anos
dist 3e5523830f chore(docs) %!s(int64=5) %!d(string=hai) anos
docs 361bca332d chore(docs) %!s(int64=5) %!d(string=hai) anos
examples 168ce14afa chore(examples) %!s(int64=5) %!d(string=hai) anos
src 3e5523830f chore(docs) %!s(int64=5) %!d(string=hai) anos
.gitignore 9900bd4260 build %!s(int64=5) %!d(string=hai) anos
README.md 3e5523830f chore(docs) %!s(int64=5) %!d(string=hai) anos
babel.config.js cb5e7ccd65 chore(tests) %!s(int64=5) %!d(string=hai) anos
package.json cb5e7ccd65 chore(tests) %!s(int64=5) %!d(string=hai) anos
yarn.lock cb5e7ccd65 chore(tests) %!s(int64=5) %!d(string=hai) anos

README.md

🌲 Spruce

A lightweight state management layer for Alpine.js

Installation

Include the following <script> tag in the <head> of your document:

<script src="/path/to/spruce.js">

Important: This must be added before loading Alpine.js when using CDN links.

Manual

If you wish to include Spruce with your own bundle:

yarn add @ryangjchandler/spruce

Then add the following to your script:

import Spruce from '@ryangjchandler/spruce'