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

[Feature]: SEO #120

Open
1 task done
thombruce opened this issue Jan 3, 2025 · 6 comments
Open
1 task done

[Feature]: SEO #120

thombruce opened this issue Jan 3, 2025 · 6 comments
Assignees
Labels
type: enhancement New feature or request

Comments

@thombruce
Copy link
Owner

Feature request

See #119 for work so far. This has been rolled back due to an unidentified issue.

These six modules are included in NuxtJS SEO

  1. https://nuxtseo.com/docs/robots/getting-started/introduction
  2. https://nuxtseo.com/docs/sitemap/getting-started/introduction
  3. https://nuxtseo.com/docs/schema-org/getting-started/introduction
  4. https://nuxtseo.com/docs/seo-utils/getting-started/introduction
  5. https://nuxtseo.com/docs/og-image/getting-started/introduction
  6. https://nuxtseo.com/docs/link-checker/getting-started/introduction

There are additional modules at a pro tier.

We want to install these individually in order to configure them properly and... hopefully to root out which one is giving us grief. The previous issue suggests the blame may lie with og-image but we don't know this to be the case absolutely.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thombruce thombruce added the type: enhancement New feature or request label Jan 3, 2025
@thombruce thombruce self-assigned this Jan 3, 2025
@thombruce
Copy link
Owner Author

I am pushing a new dynamic branch on thombruce.com with the rollbacks in place to see if removing SEO has allowed for Vercel to build and run the application properly in "dynamic mode".

If I'm still seeing the same error, I'll report it here. We'll have to dig deeper to try and solve it...

@thombruce
Copy link
Owner Author

No, now we have a new error:

SyntaxError: Named export 'createJiti' not found. The requested module 'jiti' is a CommonJS module, which may not support all module.exports as named exports.

This is unexpected. My changes have nothing to do with a module called Jiti. Some Nuxt module has this installed...

We are out of date, aren't we? What version of Nuxt are we running...?

We're a few minor versions of Nuxt out of date, but not many. Could be worth bumping dependencies to see if that helps.

@thombruce
Copy link
Owner Author

Upgrading Nuxt and other dependencies, along with deleting the yarn.lock cache and rebuilding from scratch has gotten a dynamic version of thombruce.com to deploy! Hurray! 🎉

...none of the Nuxt Content content is present though. It's all still present when running yarn run dev. Very strange...

Nuxt Content needs some changes to its configuration to run dynamically in production, maybe? Yeah, that would make sense.

@thombruce
Copy link
Owner Author

What's interesting... the content is showing up in my search utility. It's there, the pages just aren't being rendered. This is resolvable. Maybe not tonight, but it is resolvable.

There's nothing in the Nuxt Content docs pointing me at a solution... Maybe I need to manually configure prerendering for the pages.

This is becoming a real pain in the ass, mind you, and I am very tempted to abandon the "dynamic" idea and revert to static pages. Those were working. The only thing motivating the switch to dynamic was og-image, and that may be broken anyway.

Something to think about. I will sleep on that.

@thombruce
Copy link
Owner Author

I am also tempted to begin a new Nuxt project from scratch that does not use TNT, but which does use...

  1. Nuxt Content
  2. Nuxt SEO

If we could get that to work, we could compare it to our TNT project and try to figure out what the hell is going wrong.

@thombruce
Copy link
Owner Author

Supplemental: I'm also more than a little tempted to just start TNT over from scratch. It's a good project but there's a lot of... "we went in the wrong direction here, here and here" that we could address. We'd love to make it simpler!

Is a TNT2 on the horizon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant