Join Slack
Powered by
Has anyone added moment js?
# suitecommerce
m
MJ
06/30/2020, 8:24 AM
Has anyone added moment js?
v
Viraj Shinde
06/30/2020, 5:14 PM
You will have to convert it into a pure AMD module to be able to use it directly in an Extension
Viraj Shinde
06/30/2020, 5:18 PM
You can follow this document if you don't know how to do that:
https://developers.suitecommerce.com/add-a-third-party-javascript-library-to-an-extension
👍 1
m
MJ
07/01/2020, 9:36 AM
I tried adding that ... But gives me error
MJ
07/01/2020, 9:36 AM
Even I tried adding CDN to body tag
MJ
07/01/2020, 9:36 AM
Still it says error
3
Views
Open in Slack
Previous
Next