1.0.47 • Published 1 year ago

@marsjs/components v1.0.47

Weekly downloads
1
License
-
Repository
-
Last release
1 year ago

mars-components

环境依赖

  • php v5.6+
  • node v8+

Get Started

组件库代码库:http://icode.baidu.com/repo/baidu%2Fps-se-fe-tpl%2Fsearch-ui/files/master/tree/

npm install
apmjs install

本地开发

npm run serve -- [options] [组件...]
  Options:

    --open    open browser on server start
    --copy    copy url to clipboard on server start
    --host    specify host (default: 0.0.0.0)
    --port    specify port (default: 8080)
    --https   use https (default: false)
    --public  specify the public network URL for the HMR client

windows 下运行时执行会报错,可以暂时吧 node_modues/@baidu/atom-web-server-runtime/php/Atom_Component_Creator.php 中第 34 行的 $componentPath[0] === DIRECTORY_SEPARATOR && 这段代码删掉

文档自动生成

执行

npm run docs

文档书写参考:http://icode.baidu.com/repos/baidu/atom/atom-docgen-api/tree/master

注意: 1. 该命令会删除 readme.md 内 API 之后的所有内容 2. 暂时需要在 build/gendoc.js 内添加白名单

1.0.47

1 year ago

1.0.46

3 years ago

1.0.43

4 years ago

1.0.41

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.34

4 years ago

1.0.33

5 years ago

1.0.32

5 years ago

1.0.30

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago