0.0.1 • Published 1 year ago

adaptive-image v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

:book: Install

npm i adaptive-image

# import { AdaptiveImage } from 'adaptive-image'

Example

Adapt according to dpr * imageWidth Use the image in size to replace the src path @300

  <adaptive-image alt="xx" style="width:200px;" src="http://localhost:3333/public/xx@300.jpg" :size="[300,500,1000]"></adaptive-image>

License

MIT License © 2022 Simon He

sponsors

0.0.1

1 year ago