i'm wondering how include 1 of pre-defined momentjs locales in meteor, resides in locales/*.js, including per moment docs not work in meteor:
<script src="locale/pt.js"></script> how include pre-defined moment locales in meteor?
when external resources (javascript libraries, css, images, fonts) needed, put them in public. in case, put file in public/js/momentjs/locales/pt.js. then, in file containing app's <head> (client/head.html in case):
<head> <!-- etc --> <script src="/js/momentjs/locales/pt.js"></script> </head> all resources add in head end being inserted in head after ones meteor packages, no need worry load order.
Comments
Post a Comment