Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dy authored Jul 12, 2024
1 parent 8ed76fe commit a522ad4
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.

### As 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.

### As CJS etc.
### CJS etc

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

0 comments on commit a522ad4

Please sign in to comment.