Creating the Vite project – #react [Lesson 01]

Posted by






Aula 01 – Criando o projeto com Vite

Aula 01: Criando o projeto com Vite

No curso de React, a primeira aula abordará a criação do projeto com Vite. Vite is a build tool that aims to provide a fast and optimized development experience for your React projects.

To get started with Vite, follow the steps below:

  1. Install Node.js if you haven’t already.
  2. Open your terminal and navigate to the directory where you want to create your React project.
  3. Run the following command to create a new React project with Vite:

  npx create-react-app my-react-project --template vite

This command will create a new React project using Vite as the build tool.

After the project is created, you can navigate into the project directory and start working on your React app.

With Vite, you can take advantage of features like fast build times, hot module replacement, and optimized production builds. It’s a great tool for developing React apps with a smooth and efficient workflow.

In the following lessons, we will dive deeper into the features and capabilities of Vite for React development.


0 0 votes
Article Rating
8 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Claudio Oliveira
11 months ago

Aqui deu esse erro ao tentar rodar o projeto

[ERROR] Failed to resolve entry for package "vite". The package may have incorrect main/module/exports specified in its package.json. [plugin externalize-deps]

Chirlison Souza
11 months ago

Aula muito bem explicada e detalhada. Obrigado por compartilhar seu conhecimento. Vlw

Ruan Cardoso
11 months ago

Aqui o vite não atualiza as alterações automaticamente na tela do navegador nem a pau, não sei oq é

Almir Rogério
11 months ago

Cara, aula top, mas precisa aumentar o terminal e posiciona-lo para que possamos ver melhor e fazer as operações mais devagar para acompanharmos.

Caio Padilha
11 months ago

Recomenda começar pelos vídeos de back-end?

Matheus Silva
11 months ago

Muito legal.

Pedro Henrique
11 months ago

Só uma dica aumenta o tamanho da fonte pra ficar melhor a visualização.

User content
11 months ago

Excelente demais! Finalmente vou aposentar create react app