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

Error when generating #78

Open
Ast3risk-ops opened this issue Dec 28, 2024 · 2 comments
Open

Error when generating #78

Ast3risk-ops opened this issue Dec 28, 2024 · 2 comments
Milestone

Comments

@Ast3risk-ops
Copy link
Contributor

Trying to do bun run generate. Rolling back the Nuxt 3.15 update doesn't help either.

Log: https://paste.asterisk.lol/raw/taxefimequ

Important part of Nuxt config:

  nitro: {
    prerender: {
      // Pre-render the homepage
      routes: ['/', '/setup/quickstart'],
      // Then crawl all the links on the page
      crawlLinks: true
    }
  },
  icon: {
    serverBundle: 'local',
  },
  extends: ['shadcn-docs-nuxt'],
  compatibilityDate: '2024-07-06',
@ZTL-UwU
Copy link
Owner

ZTL-UwU commented Dec 28, 2024

Same as #27. Currently shadcn-docs-nuxt does not support SSG.
However it is a feature for the v1 major release which migrates to content v3.

@ZTL-UwU ZTL-UwU added this to the v1 milestone Dec 28, 2024
@Ast3risk-ops
Copy link
Contributor Author

Ast3risk-ops commented Dec 28, 2024

Same as #27. Currently shadcn-docs-nuxt does not support SSG. However it is a feature for the v1 major release which migrates to content v3.

I got that to work before funnily enough. Editing the Nitro config to enable prerendering worked, everything broke after I did an update.

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