Skip to content

Commit ef51f7f

Browse files
committed
docs: update GlobalConfig type import paths across multiple components
1 parent 252a0e2 commit ef51f7f

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

site/src/components/DemoBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</template>
104104

105105
<script lang="ts">
106-
import type { GlobalConfig } from '../App.vue';
106+
import type { GlobalConfig } from '../type';
107107
import { GLOBAL_CONFIG } from '../SymbolKey';
108108
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
109109
import { CheckOutlined, SnippetsOutlined, CodeSandboxOutlined } from '@ant-design/icons-vue';

site/src/layouts/header/Ecosystem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</template>
3838
<script lang="ts">
3939
import { computed, defineComponent, inject } from 'vue';
40-
import type { GlobalConfig } from '../../App.vue';
40+
import type { GlobalConfig } from '../../type';
4141
import { GLOBAL_CONFIG } from '../../SymbolKey';
4242
import { getLocalizedPathname } from '../../utils/util';
4343

site/src/layouts/header/Logo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</template>
99

1010
<script lang="ts">
11-
import type { GlobalConfig } from '../../App.vue';
11+
import type { GlobalConfig } from '../../type';
1212
import { GLOBAL_CONFIG } from '../../SymbolKey';
1313
import { defineComponent, inject } from 'vue';
1414
import logo from '../../assets/logo.svg';

site/src/layouts/header/More.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<script lang="ts">
1919
import { computed, defineComponent, inject } from 'vue';
2020
import { DownOutlined } from '@ant-design/icons-vue';
21-
import type { GlobalConfig } from '../../App.vue';
21+
import type { GlobalConfig } from '../../type';
2222
import { GLOBAL_CONFIG } from '../../SymbolKey';
2323
import { getLocalizedPathname } from '../../utils/util';
2424
import Ecosystem from './Ecosystem.vue';

site/src/layouts/header/Navigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</a-menu>
7474
</template>
7575
<script lang="ts">
76-
import type { GlobalConfig } from '../../App.vue';
76+
import type { GlobalConfig } from '../../type';
7777
import { GLOBAL_CONFIG } from '../../SymbolKey';
7878
import { getLocalizedPathname } from '../../utils/util';
7979
import { computed, defineComponent, inject, ref, watch } from 'vue';

site/src/layouts/header/index.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</header>
5353
</template>
5454
<script lang="ts">
55-
import type { GlobalConfig } from '../../App.vue';
55+
import type { GlobalConfig } from '../../type';
5656
import { GLOBAL_CONFIG } from '../../SymbolKey';
5757
import { getLocalizedPathname } from '../../utils/util';
5858
import { computed, defineComponent, inject, onMounted, ref, watch } from 'vue';
@@ -61,7 +61,6 @@ import Logo from './Logo.vue';
6161
import Menu from './Menu.vue';
6262
import { UnorderedListOutlined } from '@ant-design/icons-vue';
6363
import SearchBox from './SearchBox.vue';
64-
import { version } from 'ant-design-vue';
6564
export default defineComponent({
6665
components: {
6766
Logo,

site/src/views/ComponentOverview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</section>
7575
</template>
7676
<script lang="ts">
77-
import type { GlobalConfig } from '../App.vue';
77+
import type { GlobalConfig } from '../type';
7878
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
7979
import { SearchOutlined } from '@ant-design/icons-vue';
8080
import { GLOBAL_CONFIG } from '../SymbolKey';

0 commit comments

Comments
 (0)