vue-resource icon indicating copy to clipboard operation
vue-resource copied to clipboard

Any plans for Vue 3 support?

Open xrado opened this issue 4 years ago • 3 comments

Look there are only changes in the src/index.js needed (install)

xrado avatar Oct 15 '21 08:10 xrado

@janschoenherr Are you willing to add or accept help with vue 3 support? Seems not to hard.

mokkabonna avatar Feb 10 '22 13:02 mokkabonna

My Main.js in vue 3

`import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' import VueResource from 'vue-resource'

Vue.use(VueResource);

Vue.http.options.root = 'http://127.0.0.1:8000/api/';

createApp(App).use(store).use(router).mount('#app')`

After configuring in Vue js 3 I got this error.

`D:\PROJECT\vueJS\v3-frontend\src\main.js 7:1 error 'Vue' is not defined no-undef 9:1 error 'Vue' is not defined no-undef

✖ 2 problems (2 errors, 0 warnings)

webpack compiled with 1 error`

But in Vue js 2 this code working perfectly

mushfiqur-rahman avatar Mar 20 '22 09:03 mushfiqur-rahman

Vue.use construction and using Vue from import Vue from 'vue' does not work in Vue 3

21071988 avatar Aug 04 '22 10:08 21071988