Skip to content

Admonition V-draggable has[vite] Pre-transform error: #17

Description

@fdtl01

Hello,

When I paste the following code into slidev new ppt,

<Admonition title="V-draggable" color='teal-light' width="300px" v-drag="[65,279,287,160,7]">
If you want to `v-drag` an admonition, you should set the width to a fixed value.
</Admonition>

the following error occured.

14:22:12 [vite] Pre-transform error: Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).
14:22:12 [vite] Pre-transform error: Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<). (x2)
14:22:12 [vite] Internal server error: Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).
  Plugin: vite:vue

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