I use momentjs:moment
package in 1.3
;
import {moment} from 'meteor/momentjs:moment';
but show Uncaught Error: Cannot find module 'moment'
.
please help me.
I use momentjs:moment
package in 1.3
;
import {moment} from 'meteor/momentjs:moment';
but show Uncaught Error: Cannot find module 'moment'
.
please help me.
you can use the npm package and then
import moment from 'moment';
Thanks, for your reply.
Now I tried use moment npm
.
So should I remove momentjs:moment
or not?
use the names of the npm repository
I would remove momentjs:moment
from meteor, there’s no need for it anymore.