Hi,
im looking everywhere, and can’t find how to import moment, moment locale and moment-timezone to ionic2 RC0.
I find that new ionic2 rc0 is using @types, but still i don’t know what to do.
Many thanks for your answer
Mira
Hi,
im looking everywhere, and can’t find how to import moment, moment locale and moment-timezone to ionic2 RC0.
I find that new ionic2 rc0 is using @types, but still i don’t know what to do.
Many thanks for your answer
Mira
Yes, that’s work for me. And what about timezone?
when i use this:
import moment from ‘moment’;
import ‘moment-timezone’;
then i have this error:
SyntaxError: Unexpected token (2:10) in /Users/…/node_modules/moment-timezone/data/packed/latest.json
any idea?
Any idea please? I still don’t know how i use moment timezone.
Thanks