doc: update

pull/4675/head
tangjinzhou 2021-09-19 16:41:56 +08:00
parent 2d03466bf1
commit 711670e347
8 changed files with 10 additions and 11 deletions

View File

@ -7,7 +7,7 @@
</template>
<script lang="ts">
import { isZhCN } from '../utils/util';
import GoogleAds from './GoogleAds.vue';
import GoogleAds from './rice/GoogleAds.vue';
import { inject } from 'vue';
const showAd = location.host.indexOf('antdv.com') > -1;

View File

@ -10,7 +10,7 @@
<script>
import Header from '../components/header';
import Footer from '../components/footer';
import Footer from './Footer.vue';
import NProgress from 'nprogress';
export default {
components: {

View File

@ -41,7 +41,7 @@
</a-menu>
</template>
<script lang="ts">
import { getLocalizedPathname } from '@/utils/util';
import { getLocalizedPathname } from '../utils/util';
import { computed, defineComponent } from 'vue';
import { useRoute } from 'vue-router';
export default defineComponent({

View File

@ -52,7 +52,7 @@
</template>
<script lang="ts">
import { computed, defineComponent } from 'vue';
import { getLocalizedPathname } from '@/utils/util';
import { getLocalizedPathname } from '../utils/util';
export default defineComponent({
name: 'PrevAndNext',
props: ['menus', 'isZhCN', 'currentMenuIndex'],

View File

@ -16,7 +16,7 @@
</template>
<script>
import logo from '../public/logo.svg';
import logo from '../assets/logo.svg';
export default {
components: {},
beforeCreate() {

View File

@ -33,7 +33,7 @@ import More from './More.vue';
import Navigation from './Navigation.vue';
import Ecosystem from './Ecosystem.vue';
import { version } from 'ant-design-vue';
import { isZhCN, isLocalStorageNameSupported, getLocalizedPathname } from '@/utils/util';
import { isZhCN, isLocalStorageNameSupported, getLocalizedPathname } from '../../utils/util';
import { useRoute } from 'vue-router';
export default defineComponent({
name: 'HeaderMenu',

View File

@ -56,12 +56,12 @@
</section>
</template>
<script lang="ts">
import { GlobalConfig } from '@/App.vue';
import { GlobalConfig } from '../App.vue';
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
import { SearchOutlined } from '@ant-design/icons-vue';
import { GLOBAL_CONFIG } from '@/SymbolKey';
import useMenus from '@/hooks/useMenus';
import { getLocalizedPathname } from '@/utils/util';
import { GLOBAL_CONFIG } from '../SymbolKey';
import useMenus from '../hooks/useMenus';
import { getLocalizedPathname } from '../utils/util';
export default defineComponent({
name: 'ComponentOverview',
components: {

View File

@ -11,7 +11,6 @@ import defaultVar from '../scripts/default-vars';
export default {
resolve: {
alias: {
'@': path.join(__dirname, './src'),
vue: 'vue/dist/vue.esm-bundler.js',
'ant-design-vue/es': path.resolve(__dirname, '../components'),
'ant-design-vue': path.resolve(__dirname, '../components'),