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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy