Skip to content

Don't create wrapper element in i18n component on Vue 3 #794

@Demivan

Description

@Demivan

Vue 3 does not require components to have a wrapper element.

It is possible to make i18n component to not render wrapper element by default on Vue 3.

Pros:

  • Simpler html structure by default

Cons:

  • Vue 3 implementation will be different from Vue 2
  • Adding classes and other attributes will not work by default

Or instead new attribute can be added or allow tag attribute to accept falsy values.
Pros:

  • Non-breaking change

Cons:

  • Could be to inconvenient to use this parameter everythere
  • This attribute will not work in Vue 2 anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions