
CI/CD isn’t optional anymore. Discover how automated builds and deployments prevent costly mistakes, speed up releases, and keep your software stable.

A quick comparison of five AI code review tools tested on the same codebase to see which ones truly catch bugs and surface real issues.

corner-shapeLearn about CSS’s corner-shape property and how to use it, as well as the more advanced side of border-radius and why it’s crucial to using corner-shape effectively.

An AI reality check, Prisma v7, and “caveman compression”: discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the November 26th issue.
Would you be interested in joining LogRocket's developer community?
Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.
Sign up now
10 Replies to "Delivering content with Strapi and Nuxt"
Thank you for a great article on how to use Nuxt with Strapi + GraphQL.
One thing. You can install GraphQL in strapi from the marketplace in the strapi admin. Then you reach the GraphQL playground via localhost:1337/graphql.
Thanks for the article. Some links are broken when I follow the steps:
– http://localhost:1337/admin/plugins/users-permissions should be http://localhost:1337/admin/plugins/users-permissions/roles
– http://localhost:1337/admin/plugins/users-permissions.graphql should be http://localhost:1337/graphql as Christher points out.
Thanks for catching that Christher – making changes now. Glad you liked it by the way.
Hey Stijn thanks for pointing that out! Making changes as soon as I can
Hey Daniel, very appreciate your article, but unfortunately i got stuck at this problem:
ERROR in ./pages/index.vue?vue&type=script&lang=js&
Syntax Error: Unexpected character ‘’ (30:0)
28 |
29 |
> 30 | export default {
| ^
31 | data() {
32 | return {
33 | albums: [],
Could you help me to solve that? :/
Best wishes
Hey Ben! I can’t seem to see what the problem might be from the snippet you sent. Could you share a gist of the file? Do check that statement is in a tag though
Hey Ben, I have the same problem as you, did you happen to find what was causing that problem ?
Thanks
I have the same problem
To help anyone with the script tag throwing an error, here is a snippet of which i use that gets around the error:
import Layout from ‘~/layouts/Default’;
import placesQuery from ‘~/apollo/queries/places/place’;
export default {
data() {
return {
// Initialize an empty places variable
places: [],
query: ”
}
},
apollo: {
places: {
prefetch: true,
query: placesQuery
}
},
computed: {
// Search system
filteredList() {
return this.places.filter(place => {
return place.name.toLowerCase().includes(this.query.toLowerCase())
})
},
},
head: {
title: ‘My Places’
}
}
Hey, sorry for my late reply – i did solve the problem, simply copied the code again from above and paste it in. Didn’t find any reason why it doesn’t work in the first approach.