You need to sign in to do that
Don't have an account?
Leo10
How to use turf.js in salesforce lightning component?
Hi all
I want to use turf.js in salesforce lightning component. While I am including turf.js in salesforce lightning component getting an error like "ReferenceError: jsts is not defined" but it is working fine in visual force page. Can any one tell how to include turf.js in lightning components
Thank you,
I want to use turf.js in salesforce lightning component. While I am including turf.js in salesforce lightning component getting an error like "ReferenceError: jsts is not defined" but it is working fine in visual force page. Can any one tell how to include turf.js in lightning components
Thank you,
<ltng:require tag
if your static source is part of zip file then you have to use like below code
just js file then you have use like
Let me know if you have any questions
Pramodh
Now, we are not using.
But using like
I know how to include js file. But I can't able to include 'turf.js' file. I am getting an error.
I have included the same in the visualforce page.
Thank you.