Git Product home page Git Product logo

elephant-design-mobile's Introduction

elephant-design-mobile

A configurable Mobile UI

目录结构

├── build                       这个目录主要用来存放构建相关的文件
├── component                   用来存放所有组件源码
    ├── [cmpName]                    单个组件目录
    ├── common                       公用方法
    ├── index.ts                     入口文件
├── config                      用于 webpack 配置的文件
├── examples                    组件库的展示 demo 和 文档 的所有相关文件
    ├── components                  demo 中可以复用的模块放在这里面
    ├── pages                       路由中所有的页面
├── test                        这个目录用来存放测试案例(继续延用初始化出来的目录)
├── typings                     公用类型
├── lib                         组件库打包出来后的目录

项目特性

  • 基于 ts-node 全程使用 Typescript(包括 webpack 配置)
  • 开发模式基于 SFC + React Hooks

组件开发规范

开发组件过程中所需注意的规范和提示

Typescript 相关

  • 所有可选参数必须设置默认值
  • 所以必传参数不可设置默认值

elephant-design-mobile's People

Contributors

qqqqqcy avatar

Watchers

James Cloos 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.