Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Putting html comment besides root element causes TypeError #96

Closed
elevatebart opened this issue Feb 1, 2019 · 3 comments
Closed

Putting html comment besides root element causes TypeError #96

elevatebart opened this issue Feb 1, 2019 · 3 comments
Labels

Comments

@elevatebart
Copy link
Member

elevatebart commented Feb 1, 2019

Hi,

I am using the single file components and as soon as I put a html comment on the same level as the root element of my component, I get following error when I want to build the styleguide: TypeError: Cannot read property 'children' of undefined

Example:

<template>
  <!-- test -->
  <div> This is the root element of my component. </div>
</template>

vue-styleguidist/vue-styleguidist#267

@elevatebart
Copy link
Member Author

@mob8607 can you follow this issue?

@elevatebart
Copy link
Member Author

It seems to be a problem with vue-template-compiler.
I just posted an issue with the core team.
vuejs/vue#9407

You can follow this one too if you want.

@elevatebart
Copy link
Member Author

it is delivered in [email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant