Skip to content

Vue scoped css only work in nomodule #92

@Austaras

Description

@Austaras

Steps to reproduce:
Add following code to vue-cssextract example

<style scoped>
.foobar {
  font-family: mono
}
</style>

and add foobar class to some html element
reason of bug:
the above css is compiled to .foobar[data-v-xxxxxx], however for different target vue generate different hashed id, so only in legacy mode would scoped css work

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