add unit test

This commit is contained in:
cookfront
2017-04-20 18:11:05 +08:00
parent 1b90609fc6
commit efd24b0680
8 changed files with 33 additions and 59 deletions

View File

@@ -51,7 +51,7 @@ make init componentName
`docs/nav.config.json`文件里合适的地方写入组件声明根据组件类型JS组件CSS组件Form等进行区分 在`docs/examples-docs`目录里新建同名的md文件`waterfall.md`在项目的根目录下执行以下命令启动server
```shell
make dev
npm run dev
```
浏览器访问[http://localhost:8080](http://localhost:8080)就可以看到所有组件的示例了。