Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l-chris/v-webp

vue directive, use webp if support
https://github.com/l-chris/v-webp

Last synced: about 2 months ago
JSON representation

vue directive, use webp if support

Awesome Lists containing this project

README

        


v-webp-next

## ✨ Features:

- use webp when supported
- support background-image and img

## 🔧 Installation

### NPM

```bash
npm install v-webp-next --save
```
### YARN

```bash
yarn add v-webp-next
```

## 📦 Usage

```js
// install
import VWebp from 'v-webp-next'
Vue.use(VWebp)

// nromal use with img


// add modifier .bg when use image in background-image property



```