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

Variable Definition in Template #146

Open
sxzz opened this issue Nov 9, 2022 · 4 comments · May be fixed by #357
Open

Variable Definition in Template #146

sxzz opened this issue Nov 9, 2022 · 4 comments · May be fixed by #357

Comments

@sxzz
Copy link
Member

sxzz commented Nov 9, 2022

RFC: vuejs/rfcs#73
Relate PR: vuejs/core#7218 (comment)
feature name: vScope

@sxzz sxzz added the pr welcome label Nov 9, 2022
@sxzz sxzz changed the title Variable Definition in template Variable Definition in Template Nov 9, 2022
@AliceLanniste
Copy link
Contributor

I was interested in this issue and I readed this RFC and PR. If I want to migrate vScope feaute to Vue-macros,I have or not to overwrite baseCompile function.And I found out that VScope feature is built-in directive in the implementation code.Can theVue-macrosbe implemented?

@sxzz
Copy link
Member Author

sxzz commented Apr 11, 2023

I'm not sure. It's a bit complex feature.

@AliceLanniste
Copy link
Contributor

oK, I will read compiler-core and compiler-dom packages

@AliceLanniste
Copy link
Contributor

I readed named-template implementation code,and had an idea. I can partially rewrite the compiled code to achieve it. Because I've been busy and sick lately, it will take some time, but I'm already working on it

@AliceLanniste AliceLanniste linked a pull request May 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants