mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: add echarts
This commit is contained in:
11
src/App.vue
11
src/App.vue
@@ -1,3 +1,14 @@
|
||||
<template>
|
||||
<router-view />
|
||||
</template>
|
||||
<script lang='ts'>
|
||||
|
||||
import * as echarts from 'echarts'
|
||||
import { provide } from 'vue'
|
||||
|
||||
export default {
|
||||
setup(){
|
||||
provide('echarts', echarts)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user