Skip to content

Commit 5122966

Browse files
Consistent SVG component names (docs)
1 parent f143cb7 commit 5122966

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/.vuepress/Example.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
<template>
22
<nav>
33
<a href="https://github.com/vuejs/vue" class="btn btn-vue">
4-
<VueLogo class="icon" />
4+
<VueLogo class="logo" />
55
Vue
66
</a>
77
<a href="https://github.com/svg/svgo" class="btn btn-svgo">
8-
<SVGOIcon class="icon" />
8+
<SVGOLogo class="logo" />
99
SVGO
1010
</a>
1111
<a href="https://github.com/webpack/webpack" class="btn btn-webpack">
12-
<WebpackIcon class="icon" />
12+
<WebpackLogo class="logo" />
1313
webpack
1414
</a>
1515
</nav>
1616
</template>
1717
<script>
1818
import VueLogo from './public/vue.svg';
19-
import SVGOIcon from './public/svgo.svg';
20-
import WebpackIcon from './public/webpack.svg';
19+
import SVGOLogo from './public/svgo.svg';
20+
import WebpackLogo from './public/webpack.svg';
2121
2222
export default {
2323
name: 'Example',
2424
components: {
2525
VueLogo,
26-
SVGOIcon,
27-
WebpackIcon,
26+
SVGOLogo,
27+
WebpackLogo,
2828
},
2929
};
3030
</script>
@@ -42,7 +42,7 @@ export default {
4242
.btn-svgo { color: #2364c0; }
4343
.btn-webpack { color: #1d78c1; }
4444
45-
.icon {
45+
.logo {
4646
width: 28px;
4747
height: 28px;
4848
margin-right: 10px;

0 commit comments

Comments
 (0)