I just developed a Buffer Widget (WAB 2.8) using Turf.js
Visit my Github for more information
How do you add it to the WAB, specifically, I'm having problem adding turf
First of all, hi.
You have several ways to link a third party library to a WAB app. You can directly link the cdn to the index.html or add it in your main js widget file in the require section (think whether you want to set the library globally or locally in a widget). Now, the correct way using Dojo: go to init.js file, search for 'resources' var and add the following: window.path + 'libs/turf/turf.min.js'. In my case I downloaded Turf.js. That's up to you.
Retrieving data ...