Skip to content

Commit b36fd7b

Browse files
committed
rename vuepress-plugin-demo-block-vue3
1 parent 38d1bdc commit b36fd7b

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

docs/.vuepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { path } = require("@vuepress/utils");
22

33
module.exports = {
44
host: "0.0.0.0",
5-
title: "vuepress2-plugin-demo-block",
5+
title: "vuepress-plugin-demo-block-vue3",
66
description: "编写组件库文档的增加 Vue 展示和代码示例",
77
port: 6688,
88
// head: [
@@ -35,7 +35,7 @@ module.exports = {
3535
},
3636
{
3737
text: "GitHub",
38-
link: "https://github.com/seepine/vuepress2-plugin-demo-block.git",
38+
link: "https://github.com/seepine/vuepress-plugin-demo-block-vue3.git",
3939
},
4040
],
4141
sidebar: {

docs/guide/get-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ button/base
2929
## 参考示例
3030

3131
- [vuepress-plugin-demo-container](https://github.com/calebman/vuepress-plugin-demo-container)
32-
- [Element Plus ](https://element-plus.gitee.io/zh-CN/component/alert.html)
32+
- [Element Plus ](https://element-plus.gitee.io/zh-CN/component/alert.html)
33+
- [vuepress-plugin-demo-container-vue3](https://github.com/cjSound/vuepress-plugin-demo-container-vue3)

docs/guide/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
### 安装插件
1010

11-
使用 `yarn` 安装 `vuepress2-plugin-demo-block` 插件
11+
使用 `yarn` 安装 `vuepress-plugin-demo-block-vue3` 插件
1212

1313
```bash
14-
yarn add vuepress2-plugin-demo-block -D
14+
yarn add vuepress-plugin-demo-block-vue3 -D
1515
```
1616

1717
或者使用 `npm` 安装它:
1818

1919
```bash
20-
npm i vuepress2-plugin-demo-block --save-dev
20+
npm i vuepress-plugin-demo-block-vue3 --save-dev
2121
```
2222

2323
如果你的网络环境不佳,推荐使用 [cnpm](https://github.com/cnpm/cnpm)
@@ -32,7 +32,7 @@ npm i vuepress2-plugin-demo-block --save-dev
3232
module.exports = {
3333
...
3434
plugins: [[
35-
'vuepress2-plugin-demo-block',
35+
'vuepress-plugin-demo-block-vue3',
3636
{
3737
componentsDir: path.resolve(__dirname, './../examples')
3838
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "vuepress2-plugin-demo-block",
3-
"version": "1.0.3",
2+
"name": "vuepress-plugin-demo-block-vue3",
3+
"version": "1.0.0",
44
"description": "Vuepress2 plugin for demo block support vue3.",
55
"main": "src/index.js",
66
"scripts": {
@@ -13,7 +13,7 @@
1313
],
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/seepine/vuepress2-plugin-demo-block.git"
16+
"url": "https://github.com/seepine/vuepress-plugin-demo-block-vue3.git"
1717
},
1818
"dependencies": {
1919
"escape-html": "1.0.3",
@@ -36,7 +36,7 @@
3636
"author": "seepine",
3737
"license": "MIT",
3838
"bugs": {
39-
"url": "https://github.com/seepine/vuepress2-plugin-demo-block/issues"
39+
"url": "https://github.com/seepine/vuepress-plugin-demo-block-vue3/issues"
4040
},
41-
"homepage": "https://github.com/seepine/vuepress2-plugin-demo-block"
41+
"homepage": "https://github.com/seepine/vuepress-plugin-demo-block-vue3"
4242
}

src/DemoBlock.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ export default {
189189
.demo-block .meta {
190190
background-color: var(--c-bg-light);
191191
border: solid 1px var(--c-border);
192-
/* border-left: solid 1px var(--c-border); */
193-
/* border-right: solid 1px var(--c-border); */
194192
margin: -1px;
195193
border-radius: 3px;
196194
overflow: hidden;
@@ -199,6 +197,7 @@ export default {
199197
}
200198
.dark .demo-block .meta {
201199
background-color: var(--c-bg-lighter);
200+
margin: 0;
202201
}
203202
.demo-block .description {
204203
padding: 10px 20px;

0 commit comments

Comments
 (0)