I installed Vue Js after that I created a project using Vue 2 the file is created and the server run's no problem.
After that I created a project using Vue 3 file is created but when I run the server using npm run serve
I got error can anyone help me to solve this ?
I attached the image link of the error
As mentioned in https://stackoverflow.com/a/68235155/15393954 , I think the issue is @vue/compiler-sfc. Make sure it is at "^3.1.0", or just run npm upgrade.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.