0.6.1 • Published 4 years ago

@smartblog/web-upload-file-lib v0.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

web-upload-file-lib

这份设计图是根据下面的几个思想演化出来

  1. 自上而下的分层设计
  2. 关注模块的分离点,结合自己的需要进行合理的分离

这个库存在的目的

  1. 易用
  2. 可扩展
  3. 可维护
**********************************************************************
*    web-upload-file-lib                                             *
*                                                                    *
*                                                                    *
*    *************************************************************   *
*    *   upload-core                                             *   *
*    *                                                           *   *
*    *    *****************************************************  *   *
*    *    *                                                   *  *   *
*    *    *   upload                                          *  *   *
*    *    *                                                   *  *   *
*    *    *   lifecycle:                                      *  *   *
*    *    *   1. before                                       *  *   *
*    *    *   2. progress                                     *  *   *
*    *    *   3. reponse                                      *  *   *
*    *    *                                                   *  *   *
*    *    *                                                   *  *   *
*    *    *  *******************  ************************    *  *   *
*    *    *  *                 *  *                      *    *  *   *
*    *    *  *  DOM-input      *  *     DOM-event        *    *  *   *
*    *    *  *                 *  *                      *    *  *   *
*    *    *  *                 *  *                      *    *  *   *
*    *    *  *******************  ************************    *  *   *
*    *    *                                                   *  *   *
*    *    *****************************************************  *   *
*    *                                                           *   *

*    *    *****************************************************  *   *
*    *    *                                                   *  *   *
*    *    * BOM-xhr                                           *  *   *
*    *    *                                                   *  *   *
*    *    *                                                   *  *   *
*    *    *****************************************************  *   *
*    *                                                           *   *
*    *                                                           *   *
*    *************************************************************   *
*                                                                    *
*                                                                    *
*    **********************                                          *
*    *                    *                                          *
*    *  Auxiliary method  *                                          *
*    *                    *                                          *
*    *                    *                                          *
*    **********************                                          *
*                                                                    *
*                                                                    *
**********************************************************************

准备&打包

npm i

npm run build

开发

自动编译打包到 /example/test/client

npm run dev

测试

  • web static server
cd ./example/test/server

npm run start
  • client
cd ../client

npm run start
0.6.1

4 years ago

0.6.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.1.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.0.7

4 years ago

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago