Helgi
Component failing to resolvel
I am trying to make use of the v-viewer component as a Nuxt plugin.
I am adding the plugin like demonstrated below (allthough I've also tried fetching both
import { directive, component } from 'v-viewer'
and registering them each manually as well).
plugins/v-viewer.client.ts
Then I rendering the component on my page like this:
The second I load the page in my browser, I get so many warnings and errors in my log that it completely fills up the terminal context. I had to output everything into a file to be able to find the first error, which was: WARN [Vue warn]: Failed to resolve component: viewer
. I get this warning serverside even though the component works exactly as expected clientside, and the client-only console message is never outputted serverside. Which in my head means it shouldn't try to mount the component at all serverside.
I feel like I've tried every approach implementing this, and no matter what I do, the error does not go away unless I comment out the viewer. Also tried transpiling, without success.5 replies
Not getting correct version in @nuxtjs/strapi module
I am trying to implement the
@nuxtjs/strapi
module in my project based on the documentation (https://strapi.nuxtjs.org/setup).
When I am trying to set version: 'v5',
I'm stopped with the error Type '"v5"' is not assignable to type '"v4" | "v3" | undefined'.
.
After further investigations I find that the v5
value isn't even present in the node_modules/@nuxtjs/strapi/dist/module.d.ts
-file. I am using "@nuxtjs/strapi": "^1.12.0"
, which is the newest version.
Does anyone have any tips here?21 replies
Issue with @nuxtjs/recaptcha
I am trying to add
@nuxtjs/recaptcha
to my Nuxt 3 project.
I am adding the module like this
But I keep getting the error:
Cannot start nuxt: Cannot read property 'options' of undefined
I've tried the different variations described in the @nuxtjs/recaptcha
docs, but none seem to work.
Does anyone have any pointers?3 replies
Deploying Nuxt3 as Static Web App in Azure
I am currently trying to deploy my Nuxt 3 application as a static web app in Azure.
To set up the build and deployment I just used the default Azure suggestions for building a Nuxt 3 app (which is a predefined choice). However, during the build I get this error:
Build configuration:
In October 2022 people said that this didn't work because Static Web Apps didn't use a high enough node version, but the current node version my app is running now is Node 18 (which should be high enough?).
Anyone know what to do here?
2 replies