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
How I grew a side project to 100k Unique Visitors in 7 days with 0 audience 49 comments Competing with Product Hunt: a month later 33 comments Why do you hate marketing? 29 comments My Top 20 Free Tools That I Use Everyday as an Indie Hacker 16 comments $15k revenues in <4 months as a solopreneur 14 comments Use Your Product 13 comments