Skip to content

Commit

Permalink
v1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
peterroe committed Mar 31, 2022
1 parent aac4ab6 commit c20988b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-img-lazy-tiny",
"packageManager": "pnpm@6.32.3",
"version": "1.1.3",
"version": "1.1.4",
"description": "component based on vue3.x",
"main": "dist/index.umd.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { App } from 'vue'

export function install(app: App) {
export default function install(app: App) {
app.directive('lazy', {
mounted(el, binding) {
const img = new Image()
Expand Down

0 comments on commit c20988b

Please sign in to comment.