Skip to content

现有的web应用vue组件style包含scoped属性,不改源代码的情况下,怎么在打包的时候去掉scoped #442

@dengxianxiao

Description

@dengxianxiao

<style lang="less" scope> .demo { width: 100%; } </style>

打包为小程序后不生效

.demo[data-v-sdfs1212] { width: 100%; }

不改源代码的情况下,怎么在打包的时候去掉scoped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions