初始化

This commit is contained in:
aixianling
2021-12-14 18:36:19 +08:00
parent 9afa4101b6
commit a8dff862d2
327 changed files with 88702 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<template>
<svg class="icon" aria-hidden="true" v-bind="$attrs">
<use :xlink:href="iconName"></use>
</svg>
</template>
<script>
export default {
name: "svgIcon",
props: {
className: {
type: String,
}
},
computed: {
iconName() {
return `#${this.className}`
}
}
}
</script>
<style lang="scss" scoped>
</style>