# five-chess **Repository Path**: zgxtech_admin/five-chess ## Basic Information - **Project Name**: five-chess - **Description**: 使用react编写的简单的五子棋游戏的例子 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-12-14 - **Last Updated**: 2022-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Five Chess Game 这个项目使用`React`的基础框架构建五子棋游戏,旨在作为一个简单入门的例子讲解React框架的优势和特点。 ## 项目运行 ### 项目开发 1. 安装必要包,在项目目录中运行一下命令 ```bash $ npm install ``` 2. 调试项目 ```bash $ npm run start ``` 3. 对项目打包 ```bash $ npm run build ``` 上述打包命令执行后,在项目文件中会出现一个build文件夹,里面包含的内容就是打包后的内容。 4. 本地测试打包项目 因为需要使用到serve命令,通过一下命令安装 ```bash $ npm install -g serve ``` 在项目目录中,运行 ```bash $ serve -s build ```