Loading repository data…
Loading repository data…
daggerok / repository
This repository contains simple example of using spring-boot 2.x + nuxt.js (vue / vuetify) SPA with not-found routes configured on backend and frontend.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
= spring-boot-nuxt-spa image:https://travis-ci.org/daggerok/spring-boot-nuxt-spa.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spring-boot-nuxt-spa"]
Key points here is:
. add org.springframework.boot:spring-boot-starter-thymeleaf dependency in link:/build.gradle[build.gradle]
. point templates configuration spring.thymeleaf.prefix=classpath:/public/ to public folder in link:tree/master/src/main/resources/application.properties[src/main/resources/application.properties]
. 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
. in vue.js frontend app configure error layout in link:tree/master/frontend/layouts/error.vue[frontend/layouts/error.vue]
links:
other links to read: