chore: update readme.md

This commit is contained in:
vben 2020-10-19 21:18:13 +08:00
parent a207cafec9
commit 2fbc450414
7 changed files with 86 additions and 68 deletions

View File

@ -61,7 +61,7 @@
## 文档
2.0 文档很快完成,请耐心等待。
[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/)
## 预安装

View File

@ -27,28 +27,6 @@ const menu: MenuModule = {
},
],
},
// {
// path: '/excel',
// name: 'excel',
// children: [
{
path: '/customExport',
name: '选择导出格式',
},
{
path: '/jsonExport',
name: 'JSON数据导出',
},
{
path: '/arrayExport',
name: 'Array数据导出',
},
{
path: '/importExcel',
name: '导入',
},
// ],
// },
],
},
};

View File

@ -0,0 +1,29 @@
import type { MenuModule } from '/@/router/types.d';
const menu: MenuModule = {
orderNo: 500,
menu: {
name: 'Excel',
path: '/excel',
children: [
{
path: '/customExport',
name: '选择导出格式',
},
{
path: '/jsonExport',
name: 'JSON数据导出',
},
{
path: '/arrayExport',
name: 'Array数据导出',
},
{
path: '/importExcel',
name: '导入',
},
// ],
// },
],
},
};
export default menu;

View File

@ -56,47 +56,5 @@ export default {
},
component: () => import('/@/views/demo/echarts/apex/index.vue'),
},
// {
// path: '/excel',
// name: 'ExcelDemo',
// redirect: '/charts/excel/export',
// meta: {
// title: 'excel',
// },
// children: [
{
path: '/customExport',
name: 'CustomExport',
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
meta: {
title: '选择导出格式',
},
},
{
path: '/jsonExport',
name: 'JsonExport',
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
meta: {
title: 'JSON数据导出',
},
},
{
path: '/arrayExport',
name: 'ArrayExport',
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
meta: {
title: 'Array数据导出',
},
},
{
path: '/importExcel',
name: 'ImportExcel',
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
meta: {
title: '导入',
},
},
// ],
// },
],
} as AppRouteModule;

View File

@ -0,0 +1,53 @@
import type { AppRouteModule } from '/@/router/types';
import { PAGE_LAYOUT_COMPONENT } from '/@/router/constant';
export default {
layout: {
path: '/excel',
name: 'Excel',
component: PAGE_LAYOUT_COMPONENT,
redirect: '/excel/customExport',
meta: {
icon: 'ant-design:area-chart-outlined',
title: 'Excel',
},
},
routes: [
{
path: '/customExport',
name: 'CustomExport',
component: () => import('/@/views/demo/echarts/excel/CustomExport.vue'),
meta: {
title: '选择导出格式',
},
},
{
path: '/jsonExport',
name: 'JsonExport',
component: () => import('/@/views/demo/echarts/excel/JsonExport.vue'),
meta: {
title: 'JSON数据导出',
},
},
{
path: '/arrayExport',
name: 'ArrayExport',
component: () => import('/@/views/demo/echarts/excel/ArrayExport.vue'),
meta: {
title: 'Array数据导出',
},
},
{
path: '/importExcel',
name: 'ImportExcel',
component: () => import('/@/views/demo/echarts/excel/ImportExcel.vue'),
meta: {
title: '导入',
},
},
// ],
// },
],
} as AppRouteModule;

View File

@ -31,7 +31,7 @@ export default {
name: 'Doc',
component: IFrame,
meta: {
frameSrc: 'https://vvbin.cn/docs/',
frameSrc: 'https://vvbin.cn/doc-next/',
title: '项目文档(内嵌)',
afterCloseLoading: true,
},
@ -41,7 +41,7 @@ export default {
name: 'DocExternal',
component: IFrame,
meta: {
externalLink: 'https://vvbin.cn/docs/',
externalLink: 'https://vvbin.cn/doc-next/',
title: '项目文档(外链)',
},
},

View File

@ -1,4 +1,4 @@
// github repo url
export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
// vue-vben-admin-next-doc
export const DOC_URL = '';
export const DOC_URL = 'https://vvbin.cn/doc-next/';