Coder Social home page Coder Social logo

react-wechart's Introduction

布兰图公众号

说明:

布兰图微信公众号web页面,提供用户登录充值缴费等功能。

涉及技术:

React + UmiJs + TypeScript + DvaJs

项目运行:

1.将代码从码云仓库克隆到本地

git clone https://gitee.com/zhejiang_blandu_smart_energy/boslend-wechart.git

2.进入代码所在根目录分别执行

 npm install
 umi dev

3.访问本地http://localhost:8000/

umi基本项目结构:

 .
 ├── dist/                          // 默认的 build 输出目录
 ├── mock/                          // mock 文件所在目录,基于 express
 ├── config/
     ├── config.js                  // umi 配置,同 .umirc.js,二选一
 └── src/                           // 源码目录,可选
     ├── layouts/index.js           // 全局布局
     ├── pages/                     // 页面目录,里面的文件即路由
         ├── .umi/                  // dev 临时目录,需添加到 .gitignore
         ├── .umi-production/       // build 临时目录,会自动删除
         ├── document.ejs           // HTML 模板
         ├── 404.js                 // 404 页面
         ├── page1.js               // 页面 1,任意命名,导出 react 组件
         ├── page1.test.js          // 用例文件,umi test 会匹配所有 .test.js 和 .e2e.js 结尾的文件
         └── page2.js               // 页面 2,任意命名
     ├── global.css                 // 约定的全局样式文件,自动引入,也可以用 global.less
     ├── global.js                  // 可以在这里加入 polyfill
     ├── app.js                     // 运行时配置文件
 ├── .umirc.js                      // umi 配置,同 config/config.js,二选一
 ├── .env                           // 环境变量
 └── package.json

react-wechart's People

Contributors

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