Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Jul 12, 2024
1 parent 2edc8be commit 84b6593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A light alternative to alpine, petite-vue etc.

Sprae evaluates `:`-directives and evaporates them, returning reactive state for updates.

### Global standalone
### Standalone

```html
<script src="https://cdn.jsdelivr.net/npm/sprae/dist/sprae.umd.js" init></script>
Expand All @@ -37,7 +37,7 @@ Sprae evaluates `:`-directives and evaporates them, returning reactive state for

`init` attribute autoinits sprae on document.

### CJS, AMD etc
### CJS, AMD

```js
const sprae = require('sprae/dist/sprae.umd.js');
Expand Down

0 comments on commit 84b6593

Please sign in to comment.