Live Preview for Vue #4970
Replies: 5 comments 17 replies
-
You are the first I know of offering to work on this. We would gladly accept your offer! |
Beta Was this translation helpful? Give feedback.
-
Hello @DanRibbens! I also published it to NPM as However, I need a bit of guidance from you guys if you would like to make it an official Payload plugin... I didn't know how to setup the I have no experience with SWC nor monorepos, so I'm not sure if there's something I should setup differently. The hook is identical in nature to the official React hook, just with Vue syntax. It's also pure Typescript and doesn't require any Vue compilers. |
Beta Was this translation helpful? Give feedback.
-
The PR has been submited #4987 Please let me know if there's anything else missing. Thank you! |
Beta Was this translation helpful? Give feedback.
-
I merged the PR and it will be released next week. Thank you @ChrisGV04 for this feature! |
Beta Was this translation helpful? Give feedback.
-
I cherry-picked your commit and updated the package to ESM for the PR against beta: #5933 so that it can be included going forward. We didn't add a test frontend for this. I wouldn't say it is required, but could be a nice to have. If you decide to add it you could skip v2 and just do it on v3, currently |
Beta Was this translation helpful? Give feedback.
-
I love the power of Live Preview. This feature alone has convinced some of my customers to switch from WordPress and other integrated CMS's. However, I work with Nuxt for Vue for my front-end development.
I see that the docs for Live Preview mention that you plan to officially support other frameworks, such as Vue.
Are you planning to implement this feature soon? Because I checked out the source code for the React hook and it seems straight forward to implement, so I would be willing to build it for Vue if you like.
Beta Was this translation helpful? Give feedback.
All reactions