Has anyone added moment js?
# suitecommerce
m
Has anyone added moment js?
v
You will have to convert it into a pure AMD module to be able to use it directly in an Extension
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
I tried adding that ... But gives me error
Even I tried adding CDN to body tag
Still it says error