Skip to content

Commit e0e86a4

Browse files
authored
chore(play): improve import (element-plus#8468)
1 parent 3678a66 commit e0e86a4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

play/app.example.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
<template>
22
<div class="play-container">
33
<el-icon color="#409EFC">
4-
<check-icon />
4+
<el-icon-check />
55
</el-icon>
66
<el-icon>
7-
<menu-icon />
7+
<el-icon-menu />
88
</el-icon>
99
<el-button>test</el-button>
1010
<div v-loading="true" />
1111
</div>
1212
</template>
1313

1414
<script setup lang="ts">
15-
import { Check as CheckIcon, Menu as MenuIcon } from '@element-plus/icons-vue'
1615
// code here
1716
</script>
1817

play/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createApp } from 'vue'
2-
import '@element-plus/theme-chalk/src/index.scss'
2+
import '@element-plus/theme-chalk/src/dark/css-vars.scss'
33
;(async () => {
44
const apps = import.meta.glob('./src/*.vue')
55
const name = location.pathname.replace(/^\//, '') || 'App'

0 commit comments

Comments
 (0)