docs: update GlobalConfig type import paths across multiple components

main
tangjinzhou 2025-11-17 23:57:03 +08:00
parent 252a0e2563
commit ef51f7f1cc
7 changed files with 7 additions and 8 deletions

View File

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

View File

@ -37,7 +37,7 @@
</template>
<script lang="ts">
import { computed, defineComponent, inject } from 'vue';
import type { GlobalConfig } from '../../App.vue';
import type { GlobalConfig } from '../../type';
import { GLOBAL_CONFIG } from '../../SymbolKey';
import { getLocalizedPathname } from '../../utils/util';

View File

@ -8,7 +8,7 @@
</template>
<script lang="ts">
import type { GlobalConfig } from '../../App.vue';
import type { GlobalConfig } from '../../type';
import { GLOBAL_CONFIG } from '../../SymbolKey';
import { defineComponent, inject } from 'vue';
import logo from '../../assets/logo.svg';

View File

@ -18,7 +18,7 @@
<script lang="ts">
import { computed, defineComponent, inject } from 'vue';
import { DownOutlined } from '@ant-design/icons-vue';
import type { GlobalConfig } from '../../App.vue';
import type { GlobalConfig } from '../../type';
import { GLOBAL_CONFIG } from '../../SymbolKey';
import { getLocalizedPathname } from '../../utils/util';
import Ecosystem from './Ecosystem.vue';

View File

@ -73,7 +73,7 @@
</a-menu>
</template>
<script lang="ts">
import type { GlobalConfig } from '../../App.vue';
import type { GlobalConfig } from '../../type';
import { GLOBAL_CONFIG } from '../../SymbolKey';
import { getLocalizedPathname } from '../../utils/util';
import { computed, defineComponent, inject, ref, watch } from 'vue';

View File

@ -52,7 +52,7 @@
</header>
</template>
<script lang="ts">
import type { GlobalConfig } from '../../App.vue';
import type { GlobalConfig } from '../../type';
import { GLOBAL_CONFIG } from '../../SymbolKey';
import { getLocalizedPathname } from '../../utils/util';
import { computed, defineComponent, inject, onMounted, ref, watch } from 'vue';
@ -61,7 +61,6 @@ import Logo from './Logo.vue';
import Menu from './Menu.vue';
import { UnorderedListOutlined } from '@ant-design/icons-vue';
import SearchBox from './SearchBox.vue';
import { version } from 'ant-design-vue';
export default defineComponent({
components: {
Logo,

View File

@ -74,7 +74,7 @@
</section>
</template>
<script lang="ts">
import type { GlobalConfig } from '../App.vue';
import type { GlobalConfig } from '../type';
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
import { SearchOutlined } from '@ant-design/icons-vue';
import { GLOBAL_CONFIG } from '../SymbolKey';