We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Importing Moment in the Datapicker component this way: import Moment from "moment"
import Moment from "moment"
Causes the following error when I import the component in Framer:
moment_1.default' is undefined)— index.html:4151
I managed to fix the issue (the component works fine in Storybook and Framer) by importing Moment like so:
import * as Moment from 'moment';
See this discussion that I came across for details: aurelia/skeleton-navigation#606
Thanks, Lachezar
The text was updated successfully, but these errors were encountered:
Hi @lpetkov, can you submit a PR with your fix. Seems like an acceptable workaround that we can merge into the main branch upon reivew?
Sorry, something went wrong.
Done!
No branches or pull requests
Hi,
Importing Moment in the Datapicker component this way:
import Moment from "moment"
Causes the following error when I import the component in Framer:
moment_1.default' is undefined)— index.html:4151
I managed to fix the issue (the component works fine in Storybook and Framer) by importing Moment like so:
import * as Moment from 'moment';
See this discussion that I came across for details: aurelia/skeleton-navigation#606
Thanks,
Lachezar
The text was updated successfully, but these errors were encountered: