Next.js is now my favourite way to build front-end applications. With Next.js you can develop a full stack application, including your own API, however, sometimes you want to serve the front end by adding static assets to a backend application.In thi...

Markdown supported · ⌘↵ to post
Thousands of Thanks for the article. I've to adopt exact same solution for next+spring boot app for work as many limitations. This article solved most the problems that I don't know where to begin with. (I'm new to front end development)
Please do you have an updated version next export is no longer recognized. Also I'm using a dynamic route do you have an example with that in consideration,
Thank you
Hi , My path /somthing/ does not go inside public String requestPage() with requestMapping @RequestMapping("^(?!.[.].$).*$")
can u suggest smthing
I keep getting this error:
java: cannot find symbol symbol: variable SpringApplication location: class com.stacktobasics.springbootapp.SpringBootAppApplication
How can I fix this?
Luca Orlandi
A complete working example can be found here gitlab.com/lrkwz/spring-boot-nextjs-demo with just a few simple variations on the original code from the article.