-
Im currently using vue.js [OG 2.x] as a widget and using webpack to bundle in to a single js, then mounting on window div. it works, but downloading 30kb is quite a lot for a widget. now here comes petite-vue! but can i take it a step further and use petite-vue in a cloud function, and response with the template as a html file? will the client side still be reactive? or must i ship vue as well? |
Beta Was this translation helpful? Give feedback.
Answered by
niutech
Oct 5, 2021
Replies: 1 comment 5 replies
-
Sure, you can make a widget with Petite Vue! Just let your cloud function respond with this HTML:
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
ricky11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure, you can make a widget with Petite Vue! Just let your cloud function respond with this HTML: