no message
Former-commit-id: 21f8c705eaa40fa484c5139206591042c1f30733 Former-commit-id: 0a45ed0c9a38e2838487b2649091cb746b392127 Former-commit-id: d4a58dfc4ef529d83f2972f241c53482c426ca59
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = {
|
||||
loader: 'svg-sprite-loader',
|
||||
include: [resolve('src/assets/icons/svg')],
|
||||
options: {
|
||||
symbolId: 'icon-[name]'
|
||||
symbolId: 'dd-[name]'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<svg aria-hidden="true">
|
||||
<use :xlink:href="iconName"></use>
|
||||
<use :xlink:href="icon"></use>
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
@@ -13,8 +13,8 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
iconName () {
|
||||
return `#icon-${this.name}`
|
||||
icon () {
|
||||
return `#dd-${this.name}`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
<template>
|
||||
<Container>
|
||||
<IconSvg name="alarm"></IconSvg>
|
||||
<IconSvg name="chart-col"></IconSvg>
|
||||
<IconSvg name="iPhone-x"></IconSvg>
|
||||
<IconSvg name="macbook-pro"></IconSvg>
|
||||
<IconSvg name="pic"></IconSvg>
|
||||
</Container>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user