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
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 32 comments 🔥Roast my one-man design agency website 18 comments Launch on Product Hunt after 5 months of work! 16 comments Getting first 908 Paid Signups by Spending $353 ONLY. 14 comments Started as a Goodreads alternative, now it's taking a life of its own 12 comments I Sold My AI Startup for $1,500 and I'm Really Happy About It 11 comments