How to integrate a JavaScript library in Vaadin 14+
Vaadin gives you the possibility to create a web application only with Java. That’s great but sometimes you need to extend the design system with new components. You have different solutions to extend or create a new component, from the simplest to the hardest:
- You can use different Java components. You don’t need to use any JavaScript, it’s easy to maintain and the official documentation is quite good.
- You can use an existing web component. The official documentation is also great. But there is nothing that help you to choose the right library.
- You can use a Javascript library and use it.
- You can build your own component.
Table of contents
- How to choose your library?
- Polymer 3 [TODO]
- Lit [TODO]
- Vanilla JavaScript [TODO]
- TypeScript and Lit [TODO]
- Comparison between these integration [TODO]