other components...
This commit is contained in:
25
src/components/CCardCarousel/CCardCarousel.ts
Executable file
25
src/components/CCardCarousel/CCardCarousel.ts
Executable file
@@ -0,0 +1,25 @@
|
||||
import { defineComponent, ref } from 'vue'
|
||||
|
||||
import { CCardDiscipline } from '../CCardDiscipline'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CCardCarousel',
|
||||
components: { CCardDiscipline },
|
||||
props: {
|
||||
myarr: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
setup() {
|
||||
|
||||
const globalStore = useGlobalStore()
|
||||
const slidedisc = ref(0)
|
||||
|
||||
return {
|
||||
slidedisc,
|
||||
globalStore,
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user