Giter Site home page Giter Site logo

ant-design-pro-20231015's Introduction

以下是将你提供的 Ant Design Pro 项目的说明翻译成中文的内容:

Ant Design Pro

这个项目是使用 Ant Design Pro 初始化的。以下是如何使用的快速指南。

环境准备

  1. 在项目根目录/中安装前端项目node_modules,在根目录上执行:
npm install #使用npm安装,个人推荐。
yarn #使用yarn安装,个人不推荐。
  1. /nodeServices/中安装测试接口后端node.js项目node_modules,在/nodeServices/上执行:
npm install #使用npm安装,个人推荐。

根目录中提供的脚本

Ant Design Pro 提供了一些有用的脚本,帮助你快速启动和构建 Web 项目,进行代码风格检查和测试。

脚本提供在 package.json 中。可以安全地修改或添加额外的脚本:

npm start #会启动前端项目,同时使用mock.js模拟出的数据。
npm run build #构建项目。打包项目,让其变成静态文件,以便部署到静态服务器上。
npm run lint #检查代码风格。
npm run lint:fix #你还可以使用脚本自动修复一些风格错误。一般是提交到远程仓库之前执行的命令。
npm test #测试代码。
npm run dev #运行开发服务器,此时用的就是后端开发服务器的数据,而不是mock数据。

/nodeServices/中提供的脚本

npm start #执行`ts格式中的node.js服务器代码`如使用`/nodeServices/src/index.ts`起一个接口服务。

更多

参见个人操作说明;

ant-design-pro-20231015's People

Contributors

fangchaoduan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.