Skip to content

Commit

Permalink
下载完成
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Aug 29, 2024
1 parent acf9dcd commit 36482df
Show file tree
Hide file tree
Showing 21 changed files with 1,135 additions and 20 deletions.
15 changes: 15 additions & 0 deletions app-views/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}

/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
AButton: typeof import('ant-design-vue/es')['Button']
AProgress: typeof import('ant-design-vue/es')['Progress']
Download: typeof import('./src/components/download.vue')['default']
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
}
}
1 change: 1 addition & 0 deletions app-views/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"type": "module",
"dependencies": {
"ant-design-vue": "^4.2.3",
"lit": "^3.2.0",
"lodash": "^4.17.21",
"vue": "^3.4.38"
Expand Down
205 changes: 205 additions & 0 deletions app-views/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion app-views/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import HelloWorld from './components/HelloWorld.vue'
import Download from './components/download.vue'
const isPackaged = ref<boolean>(false);
Expand Down Expand Up @@ -34,7 +35,8 @@ onMounted(async () => {
</div>
<HelloWorld msg="Vite + Vue3" />
是否打包:{{ isPackaged }}
<button @click="openChildWin">打开居中的子窗口</button>
<a-button type="primary" @click="openChildWin">打开居中的子窗口</a-button>
<Download />
</template>

<style scoped>
Expand Down
Loading

0 comments on commit 36482df

Please sign in to comment.