Skip to content

Is there a way to isolate the Vue Component Sass/CSS in the shadow dom #156

Closed
@shaydoc

Description

@shaydoc

I have some cases where peeps are using deep selectors that impact styles, i know this is generally bad, but with Custom Element we obviously get the shadow boundary. would be really cool if you could tell vue custom element to include the Vue Components onwn style in the shadow dom

e.g.

<template>
....
</template>
<script>
....
</script>
<style shadow lang="scss" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions