Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Project Setup | Section
Vue.js Fundamentals and App Development

bookProject Setup

Stryg for at vise menuen

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.

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 22

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Sektion 1. Kapitel 22
some-alt