Compile specific routes into static html
I'm building an app that has the following routes:
- home
- about
- contact
- login
- dashboard
The dashboard is really the only "dynamic" part of the entire app and it should only be accessible after a user logs in.
Question: Is it possible to compile my app so that home, about, and login are static html pages and dashboard is the only page served as a "SPA"? I'm interested in doing this to optimize for SEO and page load speed.
0 Replies