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',
|
loader: 'svg-sprite-loader',
|
||||||
include: [resolve('src/assets/icons/svg')],
|
include: [resolve('src/assets/icons/svg')],
|
||||||
options: {
|
options: {
|
||||||
symbolId: 'icon-[name]'
|
symbolId: 'dd-[name]'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<svg aria-hidden="true">
|
<svg aria-hidden="true">
|
||||||
<use :xlink:href="iconName"></use>
|
<use :xlink:href="icon"></use>
|
||||||
</svg>
|
</svg>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -13,8 +13,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
iconName () {
|
icon () {
|
||||||
return `#icon-${this.name}`
|
return `#dd-${this.name}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Container>
|
<Container>
|
||||||
<IconSvg name="alarm"></IconSvg>
|
<IconSvg name="alarm"></IconSvg>
|
||||||
<IconSvg name="chart-col"></IconSvg>
|
|
||||||
<IconSvg name="iPhone-x"></IconSvg>
|
|
||||||
<IconSvg name="macbook-pro"></IconSvg>
|
|
||||||
<IconSvg name="pic"></IconSvg>
|
|
||||||
</Container>
|
</Container>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user