Рет қаралды 2,420
In this video, Marcus Hellberg shows you how to use a 3rd party JavaScript library in Vaadin Fusion. The example library is the Leaflet JS map library, but the same general steps can be used for almost any library.
0:00 - Intro
0:39 - Creating a new Vaadin Fusion project with Vaadin CLI
1:20 - Installing a 3rd party library
2:23 - Importing the library into a view
2:40 - Installing TypeScript types
3:07 - Initializing the library into a div
6:15 - Loading CSS for the library
7:30 - Adding CSS to the view
8:14 - Recap of steps
8:41 - Outro
Source: github.com/marcushellberg/vaa...