v4 initial commit

This commit is contained in:
Łukasz Holeczek
2021-08-02 23:57:02 +02:00
parent 9d65013c0f
commit 79559ae334
225 changed files with 13242 additions and 32434 deletions
-37
View File
@@ -1,37 +0,0 @@
<template>
<div>
<CCard>
<CCardHeader>
<CIcon name="cil-basket"/>Brand icons
</CCardHeader>
<CCardBody>
<CRow class="text-center">
<template v-for="(brand, brandName) in $options.brands">
<CCol
class="mb-5"
col="3"
sm="2"
:key="brandName"
>
<CIcon :height="42" :content="brand"/>
<div>{{toKebabCase(brandName)}}</div>
</CCol>
</template>
</CRow>
</CCardBody>
</CCard>
</div>
</template>
<script>
import { brandSet as brands } from '@coreui/icons'
export default {
name: 'Brands',
brands,
methods: {
toKebabCase (str) {
return str.replace(/([a-z])([A-Z0-9])/g, '$1-$2').toLowerCase()
}
}
}
</script>