Answer the question
In order to leave comments, you need to log in
How to translate vue 3 code to vue 4?
I am doing a project on the lesson on Vue.js version 4.5.9, in the video version 3.5.5. When writing one block of code, the program stops working, although it does not give any errors. The block itself looks like this:
import Vue from 'vue'
import App from './App.vue'
import router from './router'
Vue.config.productionTip = false
new Vue({
router,
render: h => h(App),
}).$mount('#app')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question