-
Notifications
You must be signed in to change notification settings - Fork 13
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
Multiple root nodes returned from render function #9
Comments
Changing the return statement to read:
Fixes the issue for me but I'm not sure if this would work for all usage scenarios. |
Hi @aner-perez,
|
I get the same error with that template. |
I also get the error with this template:
|
@aner-perez @softbeehive Same problem, any solution for this? If I replace the template tag by an html element the error disappears. The components I'm outputting all have a single root element. |
I was only evaluating this library and Vue at the time so I didn't get further than what was stated above. I got it to work by making the following change to the vue-a2b source code but I wasn't sure if that was the right thing to do here.
|
Hey folks, this project is kinda abandoned. I used to support it during my time at fromAtoB |
Can you recommend another library to use? |
@ChadwellD Hi! I took over the maintenance of this package. I will look into this issue now. Are you still using this library or maybe another one that helps with A/B testing in Vue? I would be interested in seeing what other libraries exist. |
With the following component template:
I see this error:
Looking at the render() function in src/index.js, variations[winner] is returning an Array with a single item in it which Vue does not like. I am using Vue 2.5.3.
The text was updated successfully, but these errors were encountered: