Skip to content

Commit

Permalink
change ui framework to antd-vue 4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshuiyong committed Jul 8, 2023
1 parent d98375d commit 9987bc6
Show file tree
Hide file tree
Showing 10 changed files with 365 additions and 626 deletions.
371 changes: 196 additions & 175 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@tauri-apps/api": "^1.3.0",
"element-plus": "^2.3.7",
"ant-design-vue": "^4.0.0-rc.6",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"vue": "^3.2.45",
"vue-cookies": "^1.8.3",
Expand Down
35 changes: 22 additions & 13 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
<script setup lang="ts">
import Upload from "./components/Upload.vue";
import zhCN from 'ant-design-vue/es/locale/zh_CN';
const locale = zhCN;
</script>

<template>
<div id="app">
<router-view />
</div>
<a-config-provider :locale="locale">
<div class="container">
<h1>Welcome to Tauri!</h1>

<Upload />
</div>
</a-config-provider>
</template>

<script>
export default {
name: 'App'
<style scoped>
.container {
text-align: center;
}
</script>
<style>
body{
margin: 0;
min-width: 900px;
}
</style>
</style>
110 changes: 0 additions & 110 deletions src/components/history.vue

This file was deleted.

84 changes: 0 additions & 84 deletions src/components/setting.vue

This file was deleted.

Loading

0 comments on commit 9987bc6

Please sign in to comment.