Skip to content

Component does not render without node before it? #341

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

Closed
cdekok opened this issue Jul 7, 2014 · 2 comments
Closed

Component does not render without node before it? #341

cdekok opened this issue Jul 7, 2014 · 2 comments

Comments

@cdekok
Copy link

cdekok commented Jul 7, 2014

I have a strange issue am not sure if am doing something wrong but I have this template:
https://github.com/Mech7/vue-skeleton/blob/master/src/component-result/template.html#L2
If i use:

<div class="pagination" v-component="pagination" v-ref="pagination"></div>

It does not render, but if I add a html element before it like:

<div></div>
<div class="pagination" v-component="pagination" v-ref="pagination"></div>

It works fine?

@yyx990803
Copy link
Member

It seems you are missing the closing bracket for your <h2> :P

@cdekok
Copy link
Author

cdekok commented Jul 8, 2014

Aŕrr im an idiot ;)

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

2 participants