Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

href="false" in vueperslide is causing nuxt Prerendering crawler to fail. #209

Open
pratyushtewari opened this issue Jan 28, 2024 · 1 comment

Comments

@pratyushtewari
Copy link

I am not passing any link to the slides and I see that after generation href="false" in the generated html page.

<div class="vueperslide" href="false" target="_self" face="false" ...

How can I fix this?

@wonkenstein
Copy link

Hey, we had the same issue with SSG and Nuxt 3.

There doesn't look to be an option in VueperSlide to disable that href="false" being rendered and it just does it no matter what.

We ended up with a workaround and getting the prerender crawler to ignore the /false route in the nuxt.config.ts - Selective Pre-rendering

export default defineNuxtConfig({
  nitro: {
    prerender: {
      ignore: ["/false"],
    },
  },
});

Might be too late for you as your comment is more than 6 months ago.

But commenting in case this is useful for anyone else that has a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants