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
After updating I'm seeing warnings like this in the console: [Vue Router warn]: Finding ancestor route "/media" failed for "/media" Did a quick search and found this discussion that seems relevant: https://github.com/vuejs/router/discussions/2282 However, we're not doing anything outrageous. We just have Nested Routes set up as per the Nuxt documentation: https://nuxt.com/docs/guide/directory-structure/pages/#nested-routes It looks something like this:
-| pages/
---| media/
------| index.vue
------| topics.vue
---| media.vue
-| pages/
---| media/
------| index.vue
------| topics.vue
---| media.vue
Based on the Vue Router discussion I linked to, I'm wondering if Nuxt is producing duplicate names for the routes. Thoughts?
3 replies
NNuxt
Created by FiveDigitLP on 6/14/2023 in #❓・help
POST to page returns 405 error
Hello! We have been working towards migrating our site from a C#/AngularJS hybrid to having a frontend driven by Vue/Nuxt with API calls to a backend written solely in C#. We have in-house desktop software that displays some of our web pages for use in the software (think about the way iTunes accesses its store). Previously, the software was able to navigate to the pages just fine, but after migrating to Vue/Nuxt we're getting a 405 error on certain ones. After talking with the software developers, it appears that the software is calling the pages with POST. Is there a problem in Nuxt with this to where we need to handle it differently? To further confirm our suspicions, I tried navigating to the page directly with the software's internal browser (versus the integrated web views it's using otherwise). That browser appears to use GET to make the call and has no trouble loading the pages. Any ideas on how to get this to work? We're thinking we're going to need to write some sort of request handler for these pages, but I just want to make sure that is the right path and not overkill.
20 replies