element-import-excel
Version:
This is an import excel component based on element-plus
48 lines (32 loc) • 827 B
Markdown
on element-plus
```sh [npm]
$ npm install element-excel-import
```
Document: <https://lizhenteng.github.io/element-import-excel/>
```typescript
// main.ts
import { createApp } from 'vue'
import ImportView from 'element-import-excel'
import 'element-import-excel/dist/index.css'
import App from './App.vue'
const app = createApp(App)
app.use(ImportView)
app.mount('#app')
```
```vue
<template>
<import-view />
</template>
<script lang="ts" setup>
import { ImportView } from 'element-import-excel'
import 'element-import-excel/dist/index.css'
</script>
```
Element Import Excel is open source software licensed as
[ ](https://github.com/LiZhenTeng/element-import-excel/blob/master/LICENSE).
> An import excel component based