A sample project for getting spring boot and snowpack to work together
Install dependencies and start snowpack in watch mode
npm install
npm start
This saves the output of snowpack to the src/main/resources/static
directory and moves the index.html
file into src/main/resources/templates
in a separate terminal, start Spring Boot
./mvnw spring-boot:run
edit frontend/components/App.svelte
and see your changes live in the browser