0.2 Creating a single page application 创建一个单页应用

Create React App is the best way to start building a new React single page application.

创建React应用程序是开始构建新的React单页应用程序的最佳方式。

It sets up your development environment so that you can use the latest JavaScript features,

它配置您的开发环境,以便您可以使用最新的JavaScript功能,

provides a nice developer experience, and optimizes your app for production

给开发人员带来很好的体验,并优化您的生产环境代码。

npm install -g create-react-app
create-react-app hello-world
cd hello-world
npm start

Create React App doesn't handle backend logic or databases;

创建React应用程序不处理后端逻辑或数据库;

it just creates a frontend build pipeline, so you can use it with any backend you want.

它只是创建一个前端构建管道,所以你可以用任何你想要的后段程序与它一起使用。

你可能感兴趣的:(0.2 Creating a single page application 创建一个单页应用)