vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
619 stars 167 forks source link

Alpha testing of Vaadin 24.6.0.alpha3 vs new Flow features #20459

Open mshabarov opened 3 days ago

mshabarov commented 3 days ago

Test the happy path of these new features:

mshabarov commented 1 day ago

For anyone willing to start this - I'd love to try and test: -exclude Vaadin components -easier config for SpringServlet

caalador commented 1 day ago
mshabarov commented 1 day ago

https://github.com/vaadin/docs/issues/3913

mcollovati commented 1 day ago

Add support for customizable projectFileExtensions: tested and works when importing things like @CssImport("some.scss"). The new frontendExtraFileExtensions seems not to be documented in https://vaadin.com/docs/latest/flow/production/production-build. A question: I tried set frontendExtraFileExtensions=boh and to import a file into a JS script included with @JsModule ont the view. The JavaScript contains import something from 'Frontend/my.boh?raw';. However, my.boh is not included in the stats JSON. Is this expected?

Side note, the maven plugin documentation seems a bit outdated. For example, it lists an includes setting that does not seem to exist.

caalador commented 1 day ago

I would expect it to be there if it is handled by vite.

As boh marked with ?raw vite imports is as a String and it is thus not handled as a file, mening that vite didn't handle it and it will not show up.

mcollovati commented 1 day ago

Got it. Thanks for clarification.