Skip to content

Functional Single File Components fail to compile v-model #9898

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
miljan-aleksic opened this issue Apr 18, 2019 · 2 comments
Closed

Functional Single File Components fail to compile v-model #9898

miljan-aleksic opened this issue Apr 18, 2019 · 2 comments

Comments

@miljan-aleksic
Copy link

Version

2.6.10

Reproduction link

https://codesandbox.io/s/r58jr04jlo

Steps to reproduce

Click on the checkbox.

What is expected?

The checkbox should be selected without throwing js errors.

What is actually happening?

It's issuing an error becasue the compiled js code assumes it's a stateful component and tries to use _vm.$set().

@posva
Copy link
Member

posva commented Apr 18, 2019

Hey, can you move this to vue-loader repo, please?

@posva posva closed this as completed Apr 18, 2019
@miljan-aleksic
Copy link
Author

miljan-aleksic commented Apr 18, 2019

vuejs/vue-loader#1539

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