How to include the specified moments of time in "Meteor"?
1 answer
When external resources are needed (javascript, css, images, fonts libraries), put them in public
. So in your case, I would put the file in public/js/momentjs/locales/pt.js
. Then, in the file containing my application <head>
( client/head.html
in my case):
<head>
<!-- etc -->
<script src="/js/momentjs/locales/pt.js"></script>
</head>
Any resources you add to the head will be inserted into the head after all of the meteor packs, so no need to worry about loading order.
+2
source to share