Vue 2 support
#243
-
Hey 🙂 Quickly tried it with a test app create via ✘ [ERROR] No matching export in "node_modules/vue/dist/vue.runtime.esm.js" for import "toValue"
node_modules/@pinia/colada/dist/index.js:359:124:
359 │ import { getCurrentInstance as getCurrentInstance3, getCurrentScope as getCurrentScope5, onScopeDispose as onScopeDispose3, toValue as toValue3 } from "vue"; My setup: import Vue from "vue";
import { createPinia, PiniaVuePlugin } from "pinia";
import { PiniaColada } from "@pinia/colada";
import App from "./App.vue";
import router from "./router";
import "./assets/main.css";
Vue.use(PiniaVuePlugin);
Vue.use(PiniaColada, {});
new Vue({
router,
pinia: createPinia(),
render: (h) => h(App),
}).$mount("#app"); Can anyone clarify if Vue 2 is supported, and if so, how to get it working properly? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 1, 2025
Replies: 1 comment 1 reply
-
Vue 2 is supported with a patch (to Vue 2), I successfully added it to a company's project in Vue 2.7. I haven't added it to docs yet but this option will be oriented to companies only and have a commercial license |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sumerokr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue 2 is supported with a patch (to Vue 2), I successfully added it to a company's project in Vue 2.7. I haven't added it to docs yet but this option will be oriented to companies only and have a commercial license