FiveDigitLP
FiveDigitLP
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Any help would be much appreciated as I'm at a complete loss as to what's going on and how to even find a solution.
5 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Tried upgrading to the latest version, but I'm still seeing this error.
5 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I'm sorry for the ignorance, but what do you mean by this? The package-lock file??
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I manually updated to the latest version and it still doesn't seem to work... 😫
45 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
I'm not sure what's going on, though, because mine was working correctly before the upgrade.
5 replies
NNuxt
Created by FiveDigitLP on 7/3/2024 in #❓・help
Upgrade to 3.12.3 from 3.11.1 creating Vue Router error
Well, I tried creating a minimal reproduction and I'm not able to. The routes seem to work correctly there.
5 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
Wait. You mean to tell me this is a bug and I'm not crazy?? 😅
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
Thanks! That didn't seem to work. At this point, I think it might have something to do with the way I have my page routes set up. For some reason, I have a software.vue page set up in the root of my pages folder in addition to having the nested routes under /software. I remember reading in the documentation during the early stages of my project about this being an option, but I don't remember why exactly I chose this structure as I think it has caused more headaches than it's worth.
45 replies
NNuxt
Created by deetstrab on 6/30/2024 in #❓・help
Reactively add/remove a class name to <body>, from within a component...
I hate to piggy-back on this, but at the same time I am dealing with something very similar. The primary difference being that I don't even have any sort of conditional for the class. My goal is to have a body class that shows up on some pages and not on others. I thought it would be simple enough if I set bodyAttrs differently between pages, but that doesn't seem to be doing it. I have tried both setting the value bodyAttrs: { class: } to a ref and adding an anonymous function as above, but the class still seems to stick between pages. Any ideas?? Here's what I have for my pricing page:
const bodyClasses = ref('background-glow')

useHead({
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
const bodyClasses = ref('background-glow')

useHead({
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
And here's another page:
const bodyClasses = ref('')

useHead({
titleTemplate: null,
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
const bodyClasses = ref('')

useHead({
titleTemplate: null,
title: pageTitle,
meta: [
{ name: 'description', content: pageDescription }
],
bodyAttrs: {
class: () => bodyClasses.value
}
})
The title and page description changes, so I'm not sure why the bodyAttrs doesn't.
45 replies
NNuxt
Created by BobLamarley on 2/15/2024 in #❓・help
NuxtLink create an a href="", but a click on it doesn't change page, anything happen
It may be invalid, but that shouldn't be causing his problem. In our code, we put NuxtLinks around PrimeVue buttons that render the same as above and they work just fine.
7 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
In case anyone else struggles with this issue in the future, it does seem that this is an Azure issue and seemingly how they expect/intend for it to work: https://github.com/Azure/static-web-apps/issues/1132 https://learn.microsoft.com/en-us/azure/static-web-apps/apis-overview https://github.com/Azure/static-web-apps/issues/831
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
Looks like an issue for this is going to need to be filled somewhere...
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
We're getting good responses on Netlify!!!!
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
I attempted Vercel, but seems I don't have the right permissions on Azure DevOps (where our repo is at)
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
We're actually trying Netlify right now! 😁
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
We've made calls with Postman and get the 405.
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
If so, I unfortunately can't get that right now as it's our software team's code and I don't directly have access to it. That being said, any POST calls made to any directory outside of ~/server/api results in a 405
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
I'm sorry? Are you asking what is the code that is making the POST requests?
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
Also, if it's of any use to people trying to assist us, we're using an Azure SWA. We've started to wonder if that could be contributing to this issue.
20 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
As far as I can tell, it's just a POST request that doesn't seem to go through.
20 replies