Skip to content

Namespace Components are lost on format #722

@fallsimply

Description

@fallsimply

After formatting a vue file, namespaced components are replaced with class names. I think emmet is being ran as part of the formatting process

Before

<template>
	<Controls.Button type="link">Open Editor</Controls.Button>
</template>

<script lang="ts" setup>
import Controls from "~/components/Controls"
</script>

After

<template>
	<Controls class="Button" type="link">Open Editor</Controls>
</template>

<script lang="ts" setup>
import Controls from "~/components/Controls"
</script>

Related to #372

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions