Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Any plans for Vue 3 support? #762

Open
xrado opened this issue Oct 15, 2021 · 3 comments
Open

Any plans for Vue 3 support? #762

xrado opened this issue Oct 15, 2021 · 3 comments

Comments

@xrado
Copy link

xrado commented Oct 15, 2021

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

@mokkabonna
Copy link

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

@mushfiqur-rahman
Copy link

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

@21071988
Copy link

21071988 commented Aug 4, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants