Nerd For Tech
Published in

Nerd For Tech

From vue-cli to vitejs

I recently migrated some Vue2 projects from vue-cli / webpack to vitejs. After doing that for the third time, I started to have some exhaustive notes about the process, which I’d like to recap in this post.

package.json

devDependencies

Let’s remove “@vue/cli-service” dependency and replace it by vite 🚀

npm un @vue/cli-service…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store