doc: update
parent
2d03466bf1
commit
711670e347
|
@ -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;
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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({
|
||||
|
|
|
@ -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'],
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import logo from '../public/logo.svg';
|
||||
import logo from '../assets/logo.svg';
|
||||
export default {
|
||||
components: {},
|
||||
beforeCreate() {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue