Our community is looking for talented writers who are passionate about our ecosystem (jamstack, open-source, javascript) and willing to share their knowledge/experiences through our Write for the community program.
Hello, Thanks for this atricle, i have a problem:
where is location for @assets/css/main.css in my frontend project?
i have to create main.css beside uikit.js?
Thanks
The article was interesting and the one problem faced was that , when I visit an article it throw undefined error. This is due to the delay getting the data from apollo. So I go with computed property and check the the null with v-if in the template
here is then snippets I used
For anyone who can’t get the categories page to work, it’s because the GQL query in the walk-through is wrong. Change it to:
query Categories($id: ID!){
category(id: $id) {
data {
id
attributes {
name
articles {
data {
id
attributes {
title
content
image {
data {
attributes {
url
}
}
}
category {
data {
id
attributes {
name
}
}
}
}
}
}
}
}
}
}