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
At the moment to import images in Dojo you have to use require.
For example say we want to use an image in a widget, we must do it like so:
const bottomImage = require('./../images/placeholder.png')
It would be consistent and idomatic to be able to do image imports as we do with modules like this:
import bottomImage from './../images/placeholder.png';
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment to import images in Dojo you have to use require.
For example say we want to use an image in a widget, we must do it like so:
It would be consistent and idomatic to be able to do image imports as we do with modules like this:
The text was updated successfully, but these errors were encountered: