Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
thnx for the info!
I use the tinymce and mathquill addon and their js (and css) is always loaded.
Short of fiddling with their source code I don't think it is possible.
Vaadin does not provide a mechanism for changing that easily either.
However, I do not recommend using that approach if you do not know what you are doing.
hi, thnx for the info. I will use this feature because 30% of my initial loading time is because of some libraries that are only used by 5% of the users.
I could not find any info about vaadin and a custom Linker.
I am not surprised you didn't find any info on that on the Vaadin forums, as I said before this is stuff you normally do not need to do with Vaadin since adding your own linkers to the widgetset compilation process is not really officially supported.
Anyway, if you want to use the linker make sure you put it in the client package in the source code and add the following to your applications widgetset:
<!-- Linker for removing script tags inherited by addons. --> <define-linker name="RemoveScriptTagsLinker" class="com.vaadin.demo.sampler.gwt.client.ui.RemoveScriptTagsLinker" /> <add-linker name="RemoveScriptTagsLinker" />
Ensure the package matches where the linker is located. After that you shouldn't see any addon script tags in the header.
thank you! I will take a look at it.
Nice, it works :)
*last bump* :grin:
Anyway, hope this helps.