How to get it working with Vue 3 Reactivity Transform? #1087
martinszeltins
started this conversation in
General
Replies: 1 comment 3 replies
-
Hey @martinszeltins, that's a really good question. It looks like we'd need to enable that setting in https://github.com/fwouts/previewjs/blob/main/frameworks/vue3/src/index.ts#L79. This highlights the need to be able to customise the Vite plugins that Preview.js uses (and ideally just pick up whatever you have in Would you be able to share your |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now if I open my component with Preview.js then it shows me this:
I am using the still experimenal Vue 3 Reactivity Transform - https://vuejs.org/guide/extras/reactivity-transform.html
And it seems to me that it is having a difficult time understanding
$
- which is the Vue sugar shorthand. Is there a way I can fix this and get Preview.js to render my component?Here is my component:
Here is the
useCheckoutTotal
composable:Beta Was this translation helpful? Give feedback.
All reactions