Skip to content

Commit

Permalink
[docs] update Vite asset import docs (#4371)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Mar 17, 2022
1 parent 4e53c51 commit 7cb5ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/docs/16-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: Asset handling
---

### Hashing
### Importing

To include hashes in your asset file names and cache them, you can have Vite process your assets by importing them as shown below:
[Vite will automatically process imported assets](https://vitejs.dev/guide/assets.html) for improved performance. Hashes will be added to the filenames so that they can be cached and assets smaller than `assetsInlineLimit` will be inlined.

```html
<script>
Expand Down

0 comments on commit 7cb5ee9

Please sign in to comment.