Skip to content

Commit 711670e

Browse files
committed
doc: update
1 parent 2d03466 commit 711670e

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

site/src/components/api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</template>
88
<script lang="ts">
99
import { isZhCN } from '../utils/util';
10-
import GoogleAds from './GoogleAds.vue';
10+
import GoogleAds from './rice/GoogleAds.vue';
1111
import { inject } from 'vue';
1212
1313
const showAd = location.host.indexOf('antdv.com') > -1;

site/src/layouts/BaseLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<script>
1212
import Header from '../components/header';
13-
import Footer from '../components/footer';
13+
import Footer from './Footer.vue';
1414
import NProgress from 'nprogress';
1515
export default {
1616
components: {

site/src/layouts/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</a-menu>
4242
</template>
4343
<script lang="ts">
44-
import { getLocalizedPathname } from '@/utils/util';
44+
import { getLocalizedPathname } from '../utils/util';
4545
import { computed, defineComponent } from 'vue';
4646
import { useRoute } from 'vue-router';
4747
export default defineComponent({

site/src/layouts/PrevAndNext.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</template>
5353
<script lang="ts">
5454
import { computed, defineComponent } from 'vue';
55-
import { getLocalizedPathname } from '@/utils/util';
55+
import { getLocalizedPathname } from '../utils/util';
5656
export default defineComponent({
5757
name: 'PrevAndNext',
5858
props: ['menus', 'isZhCN', 'currentMenuIndex'],

site/src/layouts/UserLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</template>
1717

1818
<script>
19-
import logo from '../public/logo.svg';
19+
import logo from '../assets/logo.svg';
2020
export default {
2121
components: {},
2222
beforeCreate() {

site/src/layouts/header/Menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import More from './More.vue';
3333
import Navigation from './Navigation.vue';
3434
import Ecosystem from './Ecosystem.vue';
3535
import { version } from 'ant-design-vue';
36-
import { isZhCN, isLocalStorageNameSupported, getLocalizedPathname } from '@/utils/util';
36+
import { isZhCN, isLocalStorageNameSupported, getLocalizedPathname } from '../../utils/util';
3737
import { useRoute } from 'vue-router';
3838
export default defineComponent({
3939
name: 'HeaderMenu',

site/src/views/ComponentOverview.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@
5656
</section>
5757
</template>
5858
<script lang="ts">
59-
import { GlobalConfig } from '@/App.vue';
59+
import { GlobalConfig } from '../App.vue';
6060
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
6161
import { SearchOutlined } from '@ant-design/icons-vue';
62-
import { GLOBAL_CONFIG } from '@/SymbolKey';
63-
import useMenus from '@/hooks/useMenus';
64-
import { getLocalizedPathname } from '@/utils/util';
62+
import { GLOBAL_CONFIG } from '../SymbolKey';
63+
import useMenus from '../hooks/useMenus';
64+
import { getLocalizedPathname } from '../utils/util';
6565
export default defineComponent({
6666
name: 'ComponentOverview',
6767
components: {

site/vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import defaultVar from '../scripts/default-vars';
1111
export default {
1212
resolve: {
1313
alias: {
14-
'@': path.join(__dirname, './src'),
1514
vue: 'vue/dist/vue.esm-bundler.js',
1615
'ant-design-vue/es': path.resolve(__dirname, '../components'),
1716
'ant-design-vue': path.resolve(__dirname, '../components'),

0 commit comments

Comments
 (0)