Answers for "create a new app vue js"

23

create vue project

npm install -g @vue/cli
//then
vue create hello-world
Posted by: Guest on May-16-2020
0

how use vue createApp

const app = Vue.createApp({
  data() {
    return { count: 4 }
  }
})

const vm = app.mount('#app')

console.log(vm.count) // => 4
Posted by: Guest on May-19-2021

Browse Popular Code Answers by Language