upgrade vue version in project code example Example: update vue version npm npm install -g @vue/cli --save # OR yarn global upgrade --latest @vue/cli