Skip to content

Make width, height and alt required props #1612

Description

@Baroshem

Hey there!

In Nuxt Cloudinary module we have these props as required to promote good practices for images.

If you omit these props, popular tools such as Lighthouse can report this as an issue.

Do you think that we could add these props to Nuxt Image as well as required? Or maybe add a warning in the console that you should add them to have better score and overall :)

I can create a draft PR with this change if you would like to test how it works :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions