Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Vue渲染模板时,如何才能保留模板中的HTML注释? #873

Open
pwstrick opened this issue Sep 20, 2019 · 1 comment
Open
Labels
VUE VUE类的题目

Comments

@pwstrick
Copy link
Owner

在Vue渲染模板时,如何才能保留模板中的HTML注释?

@pwstrick pwstrick added the VUE VUE类的题目 label Sep 20, 2019
@yyccQQu
Copy link

yyccQQu commented Aug 14, 2021

1
  <template comments>
    ...
  </template>
2
  <template comments>
  <!--我是注释内容-->
  </template>
  <script>
  export default {
      comments: true;
  }
  </script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VUE VUE类的题目
Projects
None yet
Development

No branches or pull requests

2 participants