Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Understanding the React Project Structure | Section
React Fundamentals

bookUnderstanding the React Project Structure

メニューを表示するにはスワイプしてください

When you create a React project with Vite, it generates a set of files and folders that make up the project structure. At first glance, this structure may look overwhelming, but you don't need to understand everything at once.

Explore what each main folder and file is used for and which parts you'll work with most often.

Project Root Overview

A Vite React project typically contains the following items at the root level:

  • node_modules;
  • public;
  • src;
  • index.html;
  • package.json;
  • package-lock.json;
  • vite.config.js;
  • eslint.config.js;
  • .gitignore;
  • README.md;

Let's break down the most important ones.

question mark

Which folder contains most of your React application code?

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  24

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  24
some-alt