---
title: "Discussion on \"从零开始搭建react项目\" | Hashnode"
description: "Discussion on \"从零开始搭建react项目\". 首先说明为什么要写这个文章呢？是为了方便以后用react创建项目更方便不用做重复的事。\n一、最熟悉的操作利用create-react-app搭建项目1、全局安装create-react-app，执行：npm install -g create-react-app 命令进行安装2、进入要安装项目的文件夹，执行：npx create-react-app react-blog 创建一个react-blog项目3、进入项目cd react-blog，执行：npm start 编译启动项目即可4、在项目s..."
url: "https://hashnode.com/posts/react/63f820f5e1bef6e44c78f86b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [从零开始搭建react项目](https://qiuqiu.hashnode.dev/react?utm_source=hashnode&utm_medium=feed)

首先说明为什么要写这个文章呢？是为了方便以后用react创建项目更方便不用做重复的事。 一、最熟悉的操作利用create-react-app搭建项目1、全局安装create-react-app，执行：npm install -g create-react-app 命令进行安装2、进入要安装项目的文件夹，执行：npx create-react-app react-blog 创建一个react-blog项目3、进入项目cd react-blog，执行：npm start 编译启动项目即可4、在项目s...

Feb 24, 2023 · 3 min read · qiuqiu.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[qiuqiu](https://hashnode.com/@Summer99)

@Summer99

  
[View profile](https://hashnode.com/@Summer99)

all in web3

Learner / Front-End Developer / Social Media Writer. I'm available for everything tech!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
