-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(helper): update vue 2 template and helper #270
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
12b72ba
to
034633d
Compare
32790b5
to
3cfc73a
Compare
034633d
to
492af27
Compare
3cfc73a
to
9fa6859
Compare
492af27
to
dc1cb16
Compare
9fa6859
to
1c24fb3
Compare
1c24fb3
to
b9f08cc
Compare
@eunjae-lee, I think removing all the vue2 helper would not be bad, IMO. However, how should we handle the FieldPlugin file? I think we could remove this file since it seems not to be used anyway. what do you think? |
@demetriusfeijoo if we get rid of vue 2 helper, then we should actually delete this folder, but I didn't yet because we haven't decided yet. And actually that empty FieldPlugin.vue file is a placeholder for users. We provide an example inside the template, but users can delete the whole example and start from scratch with the FieldPlugin.vue file (which is bare minimum) |
b9f08cc
to
c845c64
Compare
Oh, I see @eunjae-lee. I think once we stop using the I mean, I was checking here, and after removing the I was taking a better look at how the new approach would look and I started asking myself on how to make the logic below reusable between both Do you have any idea here? As we don't have |
@demetriusfeijoo hey, thanks for pointing this out. I forgot about this part. added 61be914 |
539f5d2
to
c845c64
Compare
61be914
to
9bdda33
Compare
Hey @eunjae-lee, thanks for the adjustment. 🙌 What about getting rid of the helper? Do you have a better position on that? |
@@ -0,0 +1,11 @@ | |||
#!/usr/bin/env zx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've also replaced copy-helpers.sh
with copy-helpers.mjs
which seems easier to maintain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me @eunjae-lee.
Thanks for you effort on this 🙌
Merge Activity
|
Co-authored-by: Demetrius Feijóo Campos <[email protected]>
d02944d
to
111b0e0
Compare
What?
This PR updates the vue 2 template. Vue 2 helper + template used to have provider / inject pattern, and now that we've removed it, there is no such thing as
useFieldPlugin
in the vue 2 helper and the template. So what if we just remove vue 2 helper at all? We just need a little bit of snippet in the vue 2 template, and we're not actively supporting vue 2 anyway.Why?
JIRA: EXT-1958
How to test? (optional)