chore: clean-up
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
<template>
|
||||
<CCallout color="info" class="bg-white">
|
||||
{{
|
||||
content
|
||||
? content
|
||||
: `A Vue ${name} component ${
|
||||
plural ? 'have' : 'has'
|
||||
} been created as a native Vue.js version
|
||||
of Bootstrap ${name}. ${name} ${
|
||||
plural ? 'are' : 'is'
|
||||
} delivered with some new features,
|
||||
variants, and unique design that matches CoreUI Design System requirements.`
|
||||
}}
|
||||
<br />
|
||||
<br />
|
||||
For more information please visit our official
|
||||
<CLink :href="url" target="_blank">
|
||||
documentation of CoreUI Components Library for Vue.js
|
||||
</CLink>
|
||||
.
|
||||
</CCallout>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import packageJson from '../../package.json'
|
||||
export default {
|
||||
name: 'DocsCallout',
|
||||
props: {
|
||||
content: {
|
||||
type: String,
|
||||
default: undefined,
|
||||
required: false,
|
||||
},
|
||||
href: {
|
||||
type: String,
|
||||
default: undefined,
|
||||
required: false,
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
default: undefined,
|
||||
required: false,
|
||||
},
|
||||
plural: Boolean,
|
||||
},
|
||||
setup(props) {
|
||||
const url = `https://coreui.io/vue/docs/${packageJson.config.coreui_library_short_version}/${props.url}`
|
||||
|
||||
return {
|
||||
url,
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@@ -22,7 +22,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import pkg from '../../package.json'
|
||||
export default {
|
||||
name: 'DocsExample',
|
||||
props: {
|
||||
@@ -33,7 +32,7 @@ export default {
|
||||
},
|
||||
},
|
||||
setup(props) {
|
||||
const url = `https://coreui.io/vue/docs/${pkg.config.coreui_library_short_version}/${props.href}`
|
||||
const url = `https://coreui.io/vue/docs/${props.href}`
|
||||
|
||||
return {
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user