doc: update
parent
2d03466bf1
commit
711670e347
|
@ -7,7 +7,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { isZhCN } from '../utils/util';
|
import { isZhCN } from '../utils/util';
|
||||||
import GoogleAds from './GoogleAds.vue';
|
import GoogleAds from './rice/GoogleAds.vue';
|
||||||
import { inject } from 'vue';
|
import { inject } from 'vue';
|
||||||
|
|
||||||
const showAd = location.host.indexOf('antdv.com') > -1;
|
const showAd = location.host.indexOf('antdv.com') > -1;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Header from '../components/header';
|
import Header from '../components/header';
|
||||||
import Footer from '../components/footer';
|
import Footer from './Footer.vue';
|
||||||
import NProgress from 'nprogress';
|
import NProgress from 'nprogress';
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getLocalizedPathname } from '@/utils/util';
|
import { getLocalizedPathname } from '../utils/util';
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { useRoute } from 'vue-router';
|
import { useRoute } from 'vue-router';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { computed, defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { getLocalizedPathname } from '@/utils/util';
|
import { getLocalizedPathname } from '../utils/util';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'PrevAndNext',
|
name: 'PrevAndNext',
|
||||||
props: ['menus', 'isZhCN', 'currentMenuIndex'],
|
props: ['menus', 'isZhCN', 'currentMenuIndex'],
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import logo from '../public/logo.svg';
|
import logo from '../assets/logo.svg';
|
||||||
export default {
|
export default {
|
||||||
components: {},
|
components: {},
|
||||||
beforeCreate() {
|
beforeCreate() {
|
||||||
|
|
|
@ -33,7 +33,7 @@ import More from './More.vue';
|
||||||
import Navigation from './Navigation.vue';
|
import Navigation from './Navigation.vue';
|
||||||
import Ecosystem from './Ecosystem.vue';
|
import Ecosystem from './Ecosystem.vue';
|
||||||
import { version } from 'ant-design-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';
|
import { useRoute } from 'vue-router';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'HeaderMenu',
|
name: 'HeaderMenu',
|
||||||
|
|
|
@ -56,12 +56,12 @@
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { GlobalConfig } from '@/App.vue';
|
import { GlobalConfig } from '../App.vue';
|
||||||
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
|
import { computed, defineComponent, inject, onMounted, ref } from 'vue';
|
||||||
import { SearchOutlined } from '@ant-design/icons-vue';
|
import { SearchOutlined } from '@ant-design/icons-vue';
|
||||||
import { GLOBAL_CONFIG } from '@/SymbolKey';
|
import { GLOBAL_CONFIG } from '../SymbolKey';
|
||||||
import useMenus from '@/hooks/useMenus';
|
import useMenus from '../hooks/useMenus';
|
||||||
import { getLocalizedPathname } from '@/utils/util';
|
import { getLocalizedPathname } from '../utils/util';
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'ComponentOverview',
|
name: 'ComponentOverview',
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -11,7 +11,6 @@ import defaultVar from '../scripts/default-vars';
|
||||||
export default {
|
export default {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.join(__dirname, './src'),
|
|
||||||
vue: 'vue/dist/vue.esm-bundler.js',
|
vue: 'vue/dist/vue.esm-bundler.js',
|
||||||
'ant-design-vue/es': path.resolve(__dirname, '../components'),
|
'ant-design-vue/es': path.resolve(__dirname, '../components'),
|
||||||
'ant-design-vue': path.resolve(__dirname, '../components'),
|
'ant-design-vue': path.resolve(__dirname, '../components'),
|
||||||
|
|
Loading…
Reference in New Issue