3

Vite and Vue Devtools

In the previous chapter, you learned how to utilize the Vue component’s data reactivity and query the external data into the component’s data system using methods, computed properties, and watch properties. This chapter introduces Vite and shows you how to debug these computed properties and events using Vue Devtools.

We will cover the following topics in the chapter:

  • Using Vite
  • Using Vue Devtools

Technical requirements

It would be best to have your Node.js version at least 14.18+ or 16+ and above. To check your Node version, run the following command in Command Prompt (or PowerShell):

node -v

You should have your npm version to 7.x and above since all our commands in the chapter are compatible with npm 7.x, and there ...

Get Frontend Development Projects with Vue.js 3 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.