初始化

This commit is contained in:
2023-04-27 16:44:20 +08:00
parent 481c3f5682
commit 4c646c1482
167 changed files with 36192 additions and 15 deletions
+22
View File
@@ -0,0 +1,22 @@
<template>
<svg aria-hidden="true">
<use :xlink:href="icon"></use>
</svg>
</template>
<script>
export default {
name: 'd2-icon-svg',
props: {
name: {
type: String,
required: true
}
},
computed: {
icon () {
return `#d2-${this.name}`
}
}
}
</script>