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

not working #47

Closed
nkmdev opened this issue Mar 18, 2018 · 1 comment
Closed

not working #47

nkmdev opened this issue Mar 18, 2018 · 1 comment

Comments

@nkmdev
Copy link

nkmdev commented Mar 18, 2018

Example defined in ngVue repository working fine but not working in fresh angular project. I created a Stackblitz link for futher reference.
https://stackblitz.com/edit/ng-vue

Thanks.

@nicolaspayot
Copy link
Member

Yes, you need babel-plugin-transform-vue-jsx to use jsx with Vue. And I don't know how to do that with StackBlitz. Your example works fine if you replace the jsx code with

return createElement('span', `${this.firstName} ${this.lastName}`)

Also, React dependency is unnecessary.

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