You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to have this working fine before we were using Vite Now I can't seem to integrate it without it causing errors ( I think this is down to how I've defined the slider. Nothing shows up, and I get "Component is missing template or render function." in the warnings.
import Slider from '@vueform/slider';
const slider = shallowRef({value:0});
defineProps({
slider: {value: 30 },
});
then within the tags I'm referencing it like so
the version is in the package.json as "@vueform/slider": "^2.1.7". Any help sorting this mucho appreciate :)
The text was updated successfully, but these errors were encountered:
Your issue is unrelated to Vite.
To import and use the slider in a Vue 3 + Vite project, use a reactive() object. @jerryComo please mark your issue as closed, if this helped to resolve your issue.
I used to have this working fine before we were using Vite Now I can't seem to integrate it without it causing errors ( I think this is down to how I've defined the slider. Nothing shows up, and I get "Component is missing template or render function." in the warnings.
import Slider from '@vueform/slider';
const slider = shallowRef({value:0});
defineProps({
slider: {value: 30 },
});
then within the tags I'm referencing it like so
the version is in the package.json as "@vueform/slider": "^2.1.7". Any help sorting this mucho appreciate :)
The text was updated successfully, but these errors were encountered: