Skip to content

How do I remove all styles from a slot? #3594

@jwoertink

Description

@jwoertink

Description

I've read through https://ui.nuxt.com/getting-started/theme but I didn't see anything that mentions how to do this...

I'm looking for a way to completely remove all of the styles in a specific slot of a component (as opposed to just overriding each style one by one).

For example, lets say I'm looking at Modal and want to remove all styles under content. I tried using both null and "" but those didn't seem to work.

{
  ui: {
    modal: {
      slots: {
        content: null,
      }
    }
  }
}

Is this possible to do?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions