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,
I'd suggest to include jQuery from npm instead of using the meteor package. I see it's now included by default in the meteor package list.
If I want to adhere to the 'pure' Mantra specs, I should now do:
import { Meteor } from 'meteor'; import { jQuery } from 'meteor/jquery';
I think the preferred Mantra way would be:
import { jQuery } from 'jquery';
I have not been able to test this yet. But I think this approach is much cleaner for isolated component development/testing.
Kind regards,
Sander
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
when use storybook, it can't import jquery from 'meteor/jquery'
@sandervanhooft thanks, will update the import statement in the new version
meteor/meteor#6626
No branches or pull requests
Hi,
I'd suggest to include jQuery from npm instead of using the meteor package. I see it's now included by default in the meteor package list.
If I want to adhere to the 'pure' Mantra specs, I should now do:
I think the preferred Mantra way would be:
I have not been able to test this yet. But I think this approach is much cleaner for isolated component development/testing.
Kind regards,
Sander
The text was updated successfully, but these errors were encountered: