11.2.0: Responsive images
Changes
Diff: v11.1.0...a031636
- Add and configure vite-plugin-image-presets (from Tropical's Vue-flavoured cousin îles!)
- Add
<Image>
and<Picture>
components that work with those preset imports
See the new Images docs for usage details.
Upgrade instructions (more info)
Merge upstream changes
First, configure this repo as a remote for your repo (you only need to do this once)
git remote add template https://github.com/bensmithett/tropical.git
Then fetch & merge the latest changes, resolving any conflicts manually:
git fetch template
git merge template/main
or...
Manually update your code
Merging upstream changes should be straightforward for this change (unless you've made lots of changes to Vite config or TropicalCodeBlock
) but see v11.1.0...a031636 for changes you can make to your project manually.
As always, open an issue if you're having trouble upgrading and I'll help you through it!