Alex
Nuxt/Content Sort by boolean
Hey quick question, does anyone know if you can sort by a boolean value in the query builder .sort() method? What I mean is I have a boolean value in my .json files "myval" and it either equals true or false and I want the ones that are true to be fetched first and I tried doing
.sort({ myval: -1})
but that doesnt work so I was wondering if I was missing something and if someone could point me in the right direction.1 replies
Using Nuxt/Content works in nuxt dev but doesn't work after nuxt generate
Basically what the title says. I have a web app that is completely working when I do npm run dev but then when I run npm run generate and npx serve .output/public, I get a bunch of 404 errors. Any help would be greatly appreciated.
7 replies