Giter VIP home page Giter VIP logo

react-playground's Introduction

前端

技术架构

React + Recoil + Webpack + Typescript + Antd

版本

Node 版本 V14.3.0 React 版本 V17.0.2

目录结构

build        // 编译打包后的目录
config       // webpack配置
public       // 静态目录
index.html   // 入口文件html模板
script       // 脚本目录
src          // 源码目录
    /api           // 接口文件
    /assets        // 资源
    /components    // 组件
        /bizcomponents     // 业务组件
        /purecomponents    // UI组件
    /config        // 配置       
    /layouts       // 布局
    /locales       // 国际化
    /pages         // 应用模块
    /routers       // 路由配置
    /stores        // 状态存储
    /utils         // 工具包
    index.tsx       // 入口文件
    setupProxy.js   // webpack代理配置
.eslintrc.js     // eslint配置
Dockerfile       // Dockerfile配置
nginx.conf       // nginx配置
package.json     // package配置
README.md        // README
tsconfig.json    // ts配置

安装

npm install or yarn install

运行

http://localhost:3000

  • npm run start 开发环境运行

  • npm run start:uat 用户测试环境运行

  • npm run start:aliyun 阿里云环境运行

  • npm run start:prod 生产环境运行

生产环境打包

  • npm run build 开发环境打包

  • npm run build:uat 用户测试环境打包

  • npm run build:aliyun 阿里云环境打包

  • npm run build:prod 生产环境打包

react-playground's People

Contributors

guolefeng avatar

Watchers

 avatar  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.