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
If you write following code in https://github.com/Sylius/Sylius-Standard/blob/1.12/assets/admin/entry.js:
import $ from 'jquery'; import './product-bulk-update'; $(document).ready(() => { $('#confirmation-modal').modal('show'); });
You will get this error:
Uncaught TypeError: jquery__WEBPACK_IMPORTED_MODULE_0___default()(...).modal is not a function <anonymous> entry.js:5
The workaround is removing jquery import:
jquery
- import $ from 'jquery'; import './product-bulk-update'; $(document).ready(() => { $('#confirmation-modal').modal('show'); });
Not sure what the solution is, probably some webpack config that prevents double jQuery import.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you write following code in https://github.com/Sylius/Sylius-Standard/blob/1.12/assets/admin/entry.js:
You will get this error:
The workaround is removing
jquery
import:- import $ from 'jquery'; import './product-bulk-update'; $(document).ready(() => { $('#confirmation-modal').modal('show'); });
Not sure what the solution is, probably some webpack config that prevents double jQuery import.
The text was updated successfully, but these errors were encountered: