Project Setup
Swipe to show menu
In this project, you will build a simple Vue application by combining components, state, and user interactions.
Start by creating a new Vue project using Vite.
npm create vue@latest
Move into the project folder:
cd my-vue-app
Install dependencies and start the development server:
npm install
npm run dev
After starting the server, open the local address in the browser.
Next, clean up the default project by removing unnecessary content from App.vue.
<template>
<h1>My Vue App</h1>
</template>
Create a components folder if it does not exist, and prepare to add new components.
This setup gives you a clean starting point to build your application step by step.
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 22
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Section 1. Chapter 22