Skip to content

ChenXiaoSong12321/hupo-ui

Repository files navigation

Table of Contents generated with DocToc

hupo-ui

本仓库为琥珀亲子的扩展组件库,提供丰富的组件能力

目录概述

.
├── README.md
├── bin
   └── build.sh
├── chameleon.config.js
├── dist
   └── wx
       ├── app.js
       ├── app.json
       ├── app.wxss
       ├── components
       ├── pages
       ├── project.config.json
       └── static
├── mock
   ├── api
      └── index.js
   └── template
       └── index.php
├── package  // build.sh 结果,发布到npm
   ├── assets
      ├── css
      └── images
   ├── components
      ├── c-action-sheet
      └── c-dialog
   └── package.json
├── package-lock.json
├── package.json
└── src  //开发目录
    ├── app
       ├── app.cml
       └── app.interface
    ├── assets
       ├── css
       └── images
    ├── components //开发组件
       ├── c-action-sheet
       └── c-dialog
    ├── entry
       ├── entry.html
       ├── entry.web.js
       └── entry.weex.js
    ├── pages  //组件示例demo页
       ├── API // 相应api 接口demo示例
       ├── COMP //相应组件demo示例;
       └── index  //主页入口
    
    ├── router.js
    ├── router.config.json //路由配置

开发步骤

  1. 查看index.cml文件,大概了解主页的配置和生效路径;
  2. 配置: 只需要在 router.config.json 中配置对应路由页面
  3. 配置完毕之后 在 src/pages/COMP中书写你的demo组件
  4. 当前以上的工作都是为了可以实时查看开发的组件的效果做准备,接下来就需要去src/components中去开发我们对应的组件
  5. enjoy yourself

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages