Skip to content

Commit c7e0ce8

Browse files
committed
chore: clean-up
1 parent 11c8683 commit c7e0ce8

30 files changed

+1
-139
lines changed

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
"test:e2e": "vue-cli-service test:e2e",
1919
"test:unit": "vue-cli-service test:unit"
2020
},
21-
"config": {
22-
"coreui_library_short_version": "4.1"
23-
},
2421
"dependencies": {
2522
"@coreui/chartjs": "^3.0.0",
2623
"@coreui/coreui": "^4.2.3",

src/components/DocsCallout.vue

-54
This file was deleted.

src/components/DocsExample.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
</template>
2323

2424
<script>
25-
import pkg from '../../package.json'
2625
export default {
2726
name: 'DocsExample',
2827
props: {
@@ -33,7 +32,7 @@ export default {
3332
},
3433
},
3534
setup(props) {
36-
const url = `https://coreui.io/vue/docs/${pkg.config.coreui_library_short_version}/${props.href}`
35+
const url = `https://coreui.io/vue/docs/${props.href}`
3736
3837
return {
3938
url,

src/main.js

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import store from './store'
66
import CoreuiVue from '@coreui/vue'
77
import CIcon from '@coreui/icons-vue'
88
import { iconsSet as icons } from '@/assets/icons'
9-
import DocsCallout from '@/components/DocsCallout'
109
import DocsExample from '@/components/DocsExample'
1110

1211
const app = createApp(App)
@@ -15,7 +14,6 @@ app.use(router)
1514
app.use(CoreuiVue)
1615
app.provide('icons', icons)
1716
app.component('CIcon', CIcon)
18-
app.component('DocsCallout', DocsCallout)
1917
app.component('DocsExample', DocsExample)
2018

2119
app.mount('#app')

src/views/base/Accordion.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Accordion" href="components/accordion" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Breadcrumbs.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Breadcrumb" href="components/breadcrumb" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Cards.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Card" href="components/card" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Carousels.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Carousel" href="components/carousel.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Collapses.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Collapse" href="components/collapse.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/ListGroups.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="List Group" href="components/list-group.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Navs.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Nav" href="components/nav.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Paginations.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Pagination" href="components/pagination.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Placeholders.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Placeholder" href="components/placeholder" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Popovers.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Popover" href="components/popover.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Progress.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Progress" href="components/progress.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Spinners.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Spinner" href="components/spinner.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Tables.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Table" href="components/table.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/base/Tooltips.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Tooltip" href="components/tooltip.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard>
85
<CCardHeader>

src/views/buttons/ButtonGroups.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Button Group" href="components/button-group.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/buttons/Buttons.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Button" href="components/button.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/buttons/Dropdowns.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Dropdown" href="components/dropdown.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/forms/ChecksRadios.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Check and Radios" href="forms/checks-radios.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/forms/FloatingLabels.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Floating Label" href="forms/floating-labels.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/forms/FormControl.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Form Control" href="forms/form-control.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/forms/InputGroup.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Input Group" href="forms/input-group.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/forms/Range.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Range" href="forms/range.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader> <strong>Vue Range</strong> <small></small> </CCardHeader>

src/views/forms/Select.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Form Select" href="forms/select.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/notifications/Alerts.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Alert" href="components/alert.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/notifications/Badges.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Badges" href="components/badge.html" />
5-
</CCol>
63
<CCol :lg="6">
74
<CCard class="mb-4">
85
<CCardHeader>

src/views/notifications/Modals.vue

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<template>
22
<CRow>
3-
<CCol :xs="12">
4-
<DocsCallout name="Modal" href="components/modal.html" />
5-
</CCol>
63
<CCol :xs="12">
74
<CCard class="mb-4">
85
<CCardHeader>

0 commit comments

Comments
 (0)