Skip to content

Commit

Permalink
docs: fix typo in asset macro
Browse files Browse the repository at this point in the history
  • Loading branch information
wout committed Jul 16, 2023
1 parent c8111f1 commit 067c96d
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 @@ -155,8 +155,8 @@ If you need even more control over the generated tags, you can use the `asset` m

```crystal
vite_client_tag
js_link vite_asset("main.js"), type: "module"
css_link vite_asset("main.css") unless LuckyEnv.development?
js_link asset("main.js"), type: "module"
css_link asset("main.css") unless LuckyEnv.development?
```

The example above does the exact same thing as `vite_entry_tags`.
Expand Down

0 comments on commit 067c96d

Please sign in to comment.