没有 Spring Boot 的 Vaadin Flow 18/19? [英] Vaadin Flow 18/19 without Spring Boot?

查看:64
本文介绍了没有 Spring Boot 的 Vaadin Flow 18/19?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

The https://start.vaadin.com page creates a new Vaadin Flow project for versions 18 or 19 (pre-release). But the resulting project requires Spring Boot.

I do not want Spring. I do not want Spring Boot. Both solve problems I do not have. Both add complications I do not want.

Is there a way to work with Vaadin 18 or 19 without Spring, with just plain Servlet technology?

Is there any Maven archetype available for Vaadin 18 or 19 but free of Spring & Spring Boot? Formerly, we had the Maven archetype vaadin-archetype-application. But that archetype works only for up to Vaadin 16. Fails for Vaadin 17 & 18.

As a workaround, is there some way to take Spring Boot based project generated on https://start.vaadin.com and then rip out all the Spring related parts? Or is that not viable?

Basically, this Question the same as this Question, Create a new Vaadin Flow 16/17 project using plain Java Servlets without Spring/CDI but for Vaadin 18/19 rather than 16/17.

解决方案

The easiest way is to use Skeleton Starter for Vaadin as a base, using the v18 branch in this case.

这篇关于没有 Spring Boot 的 Vaadin Flow 18/19?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆