fix: remove eslint and prettier warnings
This commit is contained in:
@@ -3,13 +3,11 @@
|
||||
<CCol>
|
||||
<DocsCallout
|
||||
name="CoreUI Icons"
|
||||
href="components/chart"
|
||||
href="components/icon"
|
||||
content="CoreUI Icons. CoreUI Icons package is delivered with more than 1500 icons in multiple formats SVG, PNG, and Webfonts. CoreUI Icons are beautifully crafted symbols for common actions and items. You can use them in your digital products for web or mobile app."
|
||||
/>
|
||||
<CCard>
|
||||
<CCardHeader>
|
||||
CoreUI Icons Free
|
||||
</CCardHeader>
|
||||
<CCardHeader>CoreUI Icons Free</CCardHeader>
|
||||
<CCardBody>
|
||||
<CRow class="text-center">
|
||||
<template v-for="(icon, iconName) in icons" :key="iconName">
|
||||
@@ -30,13 +28,14 @@ import { freeSet } from '@coreui/icons'
|
||||
export default {
|
||||
name: 'CoreUIIcons',
|
||||
setup() {
|
||||
const toKebabCase = (str) => str.replace(/([a-z])([A-Z0-9])/g, '$1-$2').toLowerCase()
|
||||
const toKebabCase = (str) =>
|
||||
str.replace(/([a-z])([A-Z0-9])/g, '$1-$2').toLowerCase()
|
||||
const icons = freeSet
|
||||
|
||||
return {
|
||||
icons,
|
||||
toKebabCase
|
||||
toKebabCase,
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user