T
T
TuMko2021-10-24 14:42:58
Vue.js
TuMko, 2021-10-24 14:42:58

How to create a project with the latest version of Vue 3.x?

Hello. I'm trying to create a project by typing the vue create command in the console.
The project is successfully created, with "vue": "^3.0.0" in package.json.
If you create a project through Vite, then there will be a newer version of Vue.
How can I still create a project via vue-cli with vue 3.x version?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2021-10-24
@TuMko

No way. And there is no need. "vue": "^3.0.0"- means 3.0.0 and more. A specific version is fixed in yarn.lock or package-lock.json If you really want to fix the version in package.json, you will have to do yarn add [email protected]it manually (or just enter the numbers yourself).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question