Skip to content

how to ignore self tags in SFC build #1595

Open
@MrGaoGang

Description

@MrGaoGang

What problem does this feature solve?

hello, i have i structure in my SFC, such as:

<template>
  <button :style="styles" @click="handleClick">
  </button>
</template>

<script>

</script>

<docs>
   This button is amazing, use it responsibly.
</docs>

What does the proposed API look like?

i have a self define docs tags, but i find when i use vue cli to build project; the docs tag also build to js files, so how should i ignore the tag when i build project!

thank!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions