vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
934 stars 174 forks source link

Suggestion: Maybe we can replace the editor change event with `Ctrl + s` #21

Closed btea closed 5 months ago

btea commented 2 years ago

At present, when we edit the file content, the change event of the editor will be triggered, and then the input content will be parsed.

But most of the time, we only wrote a part, so the analysis will report an error. I don't think it's very friendly.

Therefore, I want to confirm the completion of your code by Ctrl + s, and then parse and update it.

I can create an PR if you think this suggestion works. @yyx990803

sxzz commented 5 months ago

I think we can add this option for props. If you submit a PR, I'd be happy to merge it!

btea commented 5 months ago

Okay, I've created a PR. #247