Skip to content

Implement warning logging when inconsistent or deprecated attributes are used #1048

@ang-zeyu

Description

@ang-zeyu

Is your request related to a problem?

Discussion here MarkBind/vue-strap#118 (comment)

We can warn the user at compile time of inconsistent attributes / slots used in components simultaneously.

Describe the solution you'd like

Implement warning logging in for various components

  • Boxes
    • light vs seamless option
    • no-xx vs xx attributes ( e.g. no-icon + icon )
    • no-background/border and seamless option
  • All components
    • warn about deprecated attributes
    • warn about inconsistent slot + attribute ( that also translates to the slot ) choices ( e.g. using content attribute and content slot for popovers at the same time )

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions