|
há 5 anos atrás | |
---|---|---|
.github | há 5 anos atrás | |
dist | há 5 anos atrás | |
docs | há 5 anos atrás | |
examples | há 5 anos atrás | |
src | há 5 anos atrás | |
.gitignore | há 5 anos atrás | |
README.md | há 5 anos atrás | |
babel.config.js | há 5 anos atrás | |
package.json | há 5 anos atrás | |
yarn.lock | há 5 anos atrás |
A lightweight state management layer for Alpine.js
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.
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'