설명 없음

Ryan Chandler 3e5523830f chore(docs) 5 년 전
.github f2a69b9e4e chore(remove workflows) 5 년 전
dist 3e5523830f chore(docs) 5 년 전
docs 361bca332d chore(docs) 5 년 전
examples 168ce14afa chore(examples) 5 년 전
src 3e5523830f chore(docs) 5 년 전
.gitignore 9900bd4260 build 5 년 전
README.md 3e5523830f chore(docs) 5 년 전
babel.config.js cb5e7ccd65 chore(tests) 5 년 전
package.json cb5e7ccd65 chore(tests) 5 년 전
yarn.lock cb5e7ccd65 chore(tests) 5 년 전

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'