Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Creating Your First Vue App (Vite Setup) | Section
Vue.js Fundamentals and App Development

bookCreating Your First Vue App (Vite Setup)

Свайпніть щоб показати меню

A Vue application is usually created with Vite. Vite is a modern development tool that sets up the project structure and starts a local development server for your app.

To create a new Vue project, run the following command in the terminal:

npm create vue@latest

After running the command, Vite asks a few setup questions and creates a new Vue project folder.

Next, move into the project folder:

cd my-vue-app

Then install the project dependencies:

npm install

Finally, start the development server:

npm run dev

After that, Vite shows a local address in the terminal. Open it in the browser to see your Vue app running.

This setup gives you a ready-to-use Vue project where you can start building components, writing logic, and updating the interface.

question mark

Which command starts the local development server in a Vue project created with Vite?

Виберіть правильну відповідь

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Секція 1. Розділ 2
some-alt