add element ui

This commit is contained in:
bossgeekgo
2024-02-11 22:23:23 +08:00
parent f2ffcbc77d
commit 053c047bb9
8 changed files with 450 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
export {}
declare global {
}

View File

@@ -0,0 +1,14 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}
declare module 'vue' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
}

View File

@@ -1,6 +1,9 @@
<script setup lang="ts">
</script>
<template>
<RouterView />
<el-config-provider>
<RouterView />
</el-config-provider>
</template>
<script setup lang="ts">
import { ElConfigProvider } from 'element-plus'
</script>

View File

@@ -2,5 +2,7 @@
</script>
<template>
<div>Hello !!!</div>
<div>
<el-button>Hello</el-button>
</div>
</template>