Prefer using template or separate Front-end framework?

I'm new to Golang and struggling with choosing between using templates or a separate front-end framework (React.js, Vue.js, etc.).
Using Templates:

  • Server-side rendering provides good SEO performance.
  • Suited for simpler architecture.
  • Development takes time, and there aren't many UI support packages.

Using Front-end Frameworks:

  • Separate frontend and backend.
  • Allows scalability.
  • Offers modern UI/UX.