chore(cli): fix component name

This commit is contained in:
chenjiahan 2021-01-09 10:01:15 +08:00
parent 65e8e365dc
commit fe2502b647
9 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@
<script>
export default {
name: 'van-doc-container',
name: 'VanDocContainer',
props: {
hasSimulator: Boolean,

View File

@ -6,7 +6,7 @@
<script>
export default {
name: 'van-doc-content',
name: 'VanDocContent',
computed: {
currentPage() {

View File

@ -68,7 +68,7 @@ import SearchInput from './SearchInput';
import { packageVersion } from 'site-desktop-shared';
export default {
name: 'van-doc-header',
name: 'VanDocHeader',
components: {
SearchInput,

View File

@ -25,7 +25,7 @@
import NavLink from './NavLink';
export default {
name: 'van-doc-nav',
name: 'VanDocNav',
components: {
[NavLink.name]: NavLink,

View File

@ -11,7 +11,7 @@
<script>
export default {
name: 'van-doc-nav-link',
name: 'VanDocNavLink',
props: {
base: String,

View File

@ -7,7 +7,7 @@ import '@docsearch/css';
import docsearch from '@docsearch/js';
export default {
name: 'van-doc-search',
name: 'VanDocSearch',
props: {
lang: String,

View File

@ -6,7 +6,7 @@
<script>
export default {
name: 'van-doc-simulator',
name: 'VanDocSimulator',
props: {
src: String,

View File

@ -10,7 +10,7 @@
<script>
export default {
name: 'demo-block',
name: 'DemoBlock',
props: {
card: Boolean,

View File

@ -8,7 +8,7 @@
import { decamelize } from '../../common';
export default {
name: 'demo-section',
name: 'DemoSection',
computed: {
demoName() {