0๐
You are passing nothing to CoolLightBox you should check if data is fetched from server and then render the component maybe like :
<CoolLightBox
v-if="projects.length > 0"
:items="projects"
:index="index"
@close="index = null">
</CoolLightBox>
0๐
I have encountered same issue, I was able to solved it by following the array of objects the same way with the examples provided in the documentation:
items: [
{
title: "",
description: "",
src: ""
}
]
- [Vuejs]-Get data from file inside every folder using raw-loader
- [Vuejs]-How to lower levels in json?
Source:stackexchange.com