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

Typo in .vue template causes stuck? #593

Closed
wyhooo opened this issue Jan 26, 2017 · 7 comments
Closed

Typo in .vue template causes stuck? #593

wyhooo opened this issue Jan 26, 2017 · 7 comments

Comments

@wyhooo
Copy link

wyhooo commented Jan 26, 2017

This issue is an update of this one.
I found a strange thing that if you type this
<a>< /a>
or something like this
<a><img :src="img.path">< /a>
(pay attention to the typo in the < /a> tag, a space is inserted)
in your .vue template, then run npm run dev / npm run build the node process will get stuck.
However this <a>placeholder< /a> will not cause that problem.

@kazupon
Copy link
Member

kazupon commented Jan 28, 2017

I could not reproduce this issue.
Can you provide the minimum reproduction repo please?

@wyhooo
Copy link
Author

wyhooo commented Jan 29, 2017

  1. init a project using vue init webpack
  2. open Hello.vue
  3. add <a>< /a> anywhere
  4. npm run dev
  5. your node process get stuck

@teknik2008
Copy link

Same problem if you write <div><</div>
Hangs and not showing where the error.

@wyhooo
Copy link
Author

wyhooo commented Jan 29, 2017

I think maybe &lt; is a better choice? :)

@teknik2008
Copy link

Yes, that's right. I did just that. But I took the time to understand the error. I no one said where it is.

@kazupon kazupon added bug and removed need repro labels Jan 30, 2017
@kazupon
Copy link
Member

kazupon commented Jan 30, 2017

Hmmm, I reproduced this issue.

@kazupon
Copy link
Member

kazupon commented Feb 2, 2017

This is issue of vue core.
This issue already fixed with vuejs/vue#4753
Close;

@kazupon kazupon closed this as completed Feb 2, 2017
@kazupon kazupon removed the bug label Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants