docs: update GlobalConfig type import paths across multiple components
parent
252a0e2563
commit
ef51f7f1cc
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in New Issue