Skip to content

Commit

Permalink
添加官网
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan135 committed Apr 1, 2019
1 parent 493a5b3 commit e71f05f
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 245 deletions.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ git commit -m 'deploy'
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git master

# 如果发布到 https://<USERNAME>.github.io/<REPO>
git push -f [email protected]:frankfang/gulu.git master:gh-pages
git push -f [email protected]:ivan135/component-s.git master:gh-pages

cd -
10 changes: 5 additions & 5 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path')

module.exports = {
// base: '/',
base: '/component-s/',
title: 'PL-UI',
description: '一个不错的组件库',
head: [["link", { rel: "icon", href: "/logo.png" }]],
Expand All @@ -16,19 +16,19 @@ module.exports = {
title: '入门',
collapsable: false,
children: [
'/install/',
["/install/", "Hello World"]
]
},
{
title: '组件',
collapsable: false,
children: [
["/components/button", "button"],
["/components/input", "input"],
["/components/card", "card"],
["/components/tabs", "tabs"],
["/components/popover", "popover"],
["/components/toast", "toast"]
["/components/toast", "toast"],
["/components/input", "input"],
["/components/popover", "popover"]
]

},
Expand Down
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ heroImage: /logo.gif
# details: 源码简单通俗,容易理解看懂
# footer: MIT Licensed | Copyright © 2018-present Mrlgm
---

<ClientOnly>
<home></home>
</ClientOnly>
3 changes: 2 additions & 1 deletion docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: Button-按钮
---
# 按钮

<ClientOnly>
<button-demo></button-demo>
</ClientOnly>


3 changes: 2 additions & 1 deletion docs/components/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: card-卡片
---
# card-卡片

<ClientOnly>
<card-demo></card-demo>
</ClientOnly>

5 changes: 3 additions & 2 deletions docs/components/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
title: 输入框-Input
---
# 输入框-Input

<input-demos></input-demos>
<ClientOnly>
<input-demos></input-demos>
</ClientOnly>
9 changes: 4 additions & 5 deletions docs/components/popover.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ title: Popover
---

# 弹出层

<popover-demo-1>
</popover-demo-1>
<popover-demo-2>
</popover-demo-2>
<ClientOnly>
<popover-demo-1></popover-demo-1>
<popover-demo-2></popover-demo-2>
</ClientOnly>
3 changes: 2 additions & 1 deletion docs/components/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ title: Tabs
---
# Tabs


<ClientOnly>
<tabs-demo></tabs-demo>
<ClientOnly>
3 changes: 2 additions & 1 deletion docs/components/toast.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: Toast

# Toast-消息弹窗


<ClientOnly>
<toast-demo-1></toast-demo-1>
<toast-demo-2></toast-demo-2>
<toast-demo-3></toast-demo-3>
</ClientOnly>
4 changes: 4 additions & 0 deletions docs/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
```bash
npm install pencil-vue -S
```
或者
```bash
yarn add pointline-ui
```


## 按需引入部分组件
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"docs:build": "vuepress build docs"
},
"dependencies": {
"vue": "^2.5.17"
"vue": "^2.6.10"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0",
Expand Down
12 changes: 0 additions & 12 deletions tests/unit/col.spec.js

This file was deleted.

12 changes: 0 additions & 12 deletions tests/unit/row.spec.js

This file was deleted.

195 changes: 0 additions & 195 deletions tests/unit/slides.spec.js

This file was deleted.

11 changes: 3 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10970,15 +10970,10 @@ vue-template-es2015-compiler@^1.9.0:
resolved "http://registry.npm.taobao.org/vue-template-es2015-compiler/download/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
integrity sha1-HuO8mhbsv1EYvjNLsV+cRvgvWCU=

vue@^2.5.16:
vue@^2.5.16, vue@^2.6.10:
version "2.6.10"
resolved "http://registry.npm.taobao.org/vue/download/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"
integrity sha1-pysaQqTYKnIepDjRtr9V5mGVxjc=

vue@^2.5.17:
version "2.5.17"
resolved "http://registry.npm.taobao.org/vue/download/vue-2.5.17.tgz#0f8789ad718be68ca1872629832ed533589c6ada"
integrity sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ==
resolved "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637"
integrity sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==

vuepress-html-webpack-plugin@^3.2.0:
version "3.2.0"
Expand Down

0 comments on commit e71f05f

Please sign in to comment.