3
4 Comments

Vue.js app with nuxt.js static pages for seo?

Hey all,

So I've recently started exploring creating vue apps and I keep hearing how bad vue apps are for seo. So I was wondering would it make sense to have a vue app for the dashboard then nuxt static pages for the landing page/blog pages? If this is a viable solution to the seo problem, how would one go about combining the two? I know nuxt is vue based and I know that vue is very flexible but I'm not sure how to combine them. I've built nuxt sites before and recently started learning vue.

  1. 3

    Yes you're thinking is correct.

    For the dashboard go with Vue

    For the landing page/blog go with Nuxt (for static generation).

    We do the same but with React.

    Dashboard: Create React App
    Landing page / blog: Next.js (statically generation)

    1. 1

      Thanks for letting me know I'm on the right track.

  2. 2

    Run it in SSR mode. For the dashboard, etc, wrap your template logic in <client-only>.

    If you make it static, you will have to rebuild/redeploy your app every time you add a blog post.

    1. 1

      I'll look into that, thank you!

Trending on Indie Hackers
I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 13 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments How to create a rating system with Tailwind CSS and Alpinejs 7 comments