
? Select a framework: › - Use arrow-keys. From the list, choose vue: ~/workspace % npm init installed 6 in 1.051s $ npm init you’ll be prompted to enter the project name and select the library which you want to use. Install Vite and initialise the project with: The create-vite tool will also create the project folder for you, so just make sure to cd into the parent folder first: They also support Yarn and PNPM as package managers, but we’ll only cover NPM. We’re going to use the official create-vite scaffolding tool to setup the project structure so make sure you have Node 12+ installed with NPM 6+. If you're eager to get right down to it, just get the project up and running with: git clone

For all accounts and purposes, the application we’ll build here can be deployed as a static website. There is no server side component per se, although the data is loaded using the browser Fetch API (the successor of XHR) so a backend component could be easily added.

One last thing that needs to be mentioned is that the backend is not covered in this tutorial. Some of the topics listed above could be expanded into entire tutorials of their own, but for now I am covering only what’s needed to have everything up and running. This may seem like a lot but I think it’s perfectly possible to go through all of it in less than 20 minutes.

It also includes details on how to add state management using Pinia (the Vuex successor) and routing using Vue Router. This guide will cover in detail the steps to create a functional example bookstore single page application using Vue 3 and run it using Vite. Created in 2014, Vue.js is undoubtedly one of the leading frontend frameworks at the moment and with a growing community and expanding ecosystem it seems that its position is firm for quite some time.
