Skip to content

Commit

Permalink
build(projects): update deps, update logos
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Sep 20, 2022
1 parent 7dd7c71 commit 22c0567
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 25 deletions.
26 changes: 23 additions & 3 deletions mock/model/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const routeModel: Record<Auth.RoleType, AuthRoute.Route[]> = {
meta: {
title: 'vue文档',
requiresAuth: true,
icon: 'mdi:vuejs'
icon: 'logos:vue'
}
},
{
Expand All @@ -54,16 +54,36 @@ export const routeModel: Record<Auth.RoleType, AuthRoute.Route[]> = {
meta: {
title: 'vite文档',
requiresAuth: true,
icon: 'simple-icons:vite'
icon: 'logos:vitejs'
}
},
{
name: 'document_naive',
path: '/document/naive',
component: 'self',
meta: {
title: 'naive文档',
requiresAuth: true,
icon: 'logos:naiveui'
}
},
{
name: 'document_project',
path: '/document/project',
component: 'self',
meta: {
title: '项目文档',
requiresAuth: true,
customIcon: 'logo'
}
},
{
name: 'document_project-link',
path: '/document/project-link',
meta: {
title: '项目文档(外链)',
requiresAuth: true,
icon: 'mdi:file-link-outline',
customIcon: 'logo',
href: 'https://docs.soybean.pro/'
}
}
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"dependencies": {
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.7",
"@antv/g2": "^4.2.8",
"@better-scroll/core": "^2.4.2",
"@soybeanjs/vue-admin-layout": "^1.1.1",
"@soybeanjs/vue-admin-tab": "^1.0.5",
Expand All @@ -70,7 +70,7 @@
"pinia": "^2.0.22",
"print-js": "^1.6.0",
"qs": "^6.11.0",
"swiper": "^8.4.0",
"swiper": "^8.4.2",
"ua-parser-js": "^1.0.2",
"vditor": "^3.8.17",
"vue": "3.2.39",
Expand All @@ -82,16 +82,16 @@
"@amap/amap-jsapi-types": "^0.0.8",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@iconify/json": "^2.1.107",
"@iconify/json": "^2.1.109",
"@iconify/vue": "^4.0.0",
"@milahu/patch-package": "^6.4.14",
"@types/bmapgl": "^0.0.5",
"@types/crypto-js": "^4.1.1",
"@types/node": "^18.7.18",
"@types/qs": "^6.9.7",
"@types/ua-parser-js": "^0.7.36",
"@unocss/preset-uno": "^0.45.21",
"@unocss/vite": "^0.45.21",
"@unocss/preset-uno": "^0.45.22",
"@unocss/vite": "^0.45.22",
"@vitejs/plugin-vue": "^3.1.0",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"commitizen": "^4.2.5",
Expand All @@ -108,16 +108,16 @@
"sass": "^1.54.9",
"standard-version": "^9.5.0",
"typescript": "4.8.3",
"unplugin-icons": "^0.14.9",
"unplugin-icons": "^0.14.10",
"unplugin-vue-components": "0.22.7",
"unplugin-vue-macros": "^0.11.2",
"utility-types": "^3.10.0",
"vite": "^3.1.0",
"vite": "^3.1.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-progress": "^0.0.4",
"vite-plugin-pwa": "^0.12.7",
"vite-plugin-pwa": "^0.13.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^0.40.13"
},
Expand Down
2 changes: 1 addition & 1 deletion src/typings/route.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ declare namespace AuthRoute {
| 'dashboard_workbench'
| 'document'
| 'document_vue'
| 'document_vue-new'
| 'document_vite'
| 'document_naive'
| 'document_project'
| 'document_project-link'
| 'component'
| 'component_button'
| 'component_card'
Expand Down
15 changes: 6 additions & 9 deletions src/views/dashboard/workbench/components/WorkbenchMain/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,50 +66,47 @@ const technology: Technology[] = [
description: '一套用于构建用户界面的渐进式框架',
author: '尤雨溪 - Evan You',
site: 'https://v3.cn.vuejs.org/',
icon: 'vscode-icons:file-type-vue'
icon: 'logos:vue'
},
{
id: 1,
name: 'TypeScript',
description: 'JavaScript类型的超集,它可以编译成纯JavaScript',
author: '微软 - Microsoft',
site: 'https://www.typescriptlang.org/',
icon: 'vscode-icons:file-type-typescript-official'
icon: 'logos:typescript-icon'
},
{
id: 2,
name: 'Vite',
description: '下一代前端开发与构建工具',
author: '尤雨溪 - Evan You',
site: 'https://vitejs.cn/',
icon: 'vscode-icons:file-type-vite'
icon: 'logos:vitejs'
},
{
id: 3,
name: 'NaiveUI',
description: '一个 Vue 3 组件库',
author: '图森未来 - TuSimple',
site: 'https://www.naiveui.com/zh-CN/os-theme',
icon: 'mdi:alpha-n-box-outline',
iconColor: '#5fbc22'
icon: 'logos:naiveui'
},
{
id: 4,
name: 'UnoCSS',
description: '下一代实用优先的CSS框架',
author: 'Anthony Fu',
site: 'https://uno.antfu.me/?s=',
icon: 'logos:unocss',
iconColor: '#48b0f1'
icon: 'logos:unocss'
},
{
id: 5,
name: 'Pinia',
description: 'vue状态管理框架,支持vue2、vue3',
author: 'Posva',
site: 'https://pinia.esm.dev/',
icon: 'mdi:fruit-pineapple',
iconColor: '#fecf48'
icon: 'noto:pineapple'
}
];
Expand Down
4 changes: 3 additions & 1 deletion src/views/document/naive/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</template>

<script setup lang="ts">
const src = 'https://www.naiveui.com/zh-CN/os-theme/docs/introduction';
import { ref } from 'vue';
const src = ref('https://www.naiveui.com/zh-CN/os-theme/docs/introduction');
</script>

<style scoped></style>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</template>

<script setup lang="ts">
const src = 'https://staging-cn.vuejs.org/';
import { ref } from 'vue';
const src = ref('https://docs.soybean.pro/');
</script>

<style scoped></style>
4 changes: 3 additions & 1 deletion src/views/document/vite/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</template>

<script setup lang="ts">
const src = 'https://cn.vitejs.dev/';
import { ref } from 'vue';
const src = ref('https://cn.vitejs.dev/');
</script>

<style scoped></style>
4 changes: 3 additions & 1 deletion src/views/document/vue/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
</template>

<script setup lang="ts">
const src = 'https://v3.cn.vuejs.org/';
import { ref } from 'vue';
const src = ref('https://v3.cn.vuejs.org/');
</script>

<style scoped></style>

1 comment on commit 22c0567

@vercel
Copy link

@vercel vercel bot commented on 22c0567 Sep 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.