Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.72 KB

README.adoc

File metadata and controls

26 lines (20 loc) · 1.72 KB

spring-boot-nuxt-spa Build Status

Key points here is:

  1. add org.springframework.boot:spring-boot-starter-thymeleaf dependency in build.gradle

  2. point templates configuration spring.thymeleaf.prefix=classpath:/public/ to public folder in src/main/resources/application.properties

  3. during SPA build copy result index.html as src/main/resources/public/error/4xx.html and src/main/resources/public/error/5xx.html to handle errors with frontend app

  4. in vue.js frontend app configure error layout in frontend/layouts/error.vue

links:

other links to read: