Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default to decoding: async #996

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion src/runtime/components/_base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const baseImageProps = {
},
decoding: {
type: String as () => 'async' | 'auto' | 'sync',
default: undefined,
default: 'async',
validator: (val: any) => ['async', 'auto', 'sync'].includes(val)
},

Expand Down