When starting with a new plugin build based on the skeleton, the JavaScript that gets built for both Gulp entries spits out console errors from what looks to be bad imports of the Semantic UI components.
Frontend:
Uncaught TypeError: jquery(...).sidebar is not a function
at HTMLDocument.<anonymous> (app.js:28)
at mightThrow (jquery.js:3766)
at process (jquery.js:3834)
Uncaught TypeError: jquery(...).popup is not a function
at HTMLDocument.<anonymous> (app.js:31)
at mightThrow (jquery.js:3766)
at process (jquery.js:3834)
Admin:
Uncaught TypeError: jquery(...).sidebar is not a function
at HTMLDocument.<anonymous> (app.js:28)
at mightThrow (jquery.js:3766)
at process (jquery.js:3834)
Uncaught TypeError: this.dropdown is not a function
at jQuery.fn.init.productAutoComplete (sylius-product-auto-complete.js:20)
at HTMLDocument.<anonymous> (app.js:50)
at mightThrow (jquery.js:3766)
at process (jquery.js:3834)
FWIW, changing from the Gulp build to Webpack Encore does seem to resolve this. But, I honestly have no idea how many wrenches that would throw into things.
When starting with a new plugin build based on the skeleton, the JavaScript that gets built for both Gulp entries spits out console errors from what looks to be bad imports of the Semantic UI components.
Frontend:
Uncaught TypeError: jquery(...).sidebar is not a function at HTMLDocument.<anonymous> (app.js:28) at mightThrow (jquery.js:3766) at process (jquery.js:3834) Uncaught TypeError: jquery(...).popup is not a function at HTMLDocument.<anonymous> (app.js:31) at mightThrow (jquery.js:3766) at process (jquery.js:3834)Admin:
Uncaught TypeError: jquery(...).sidebar is not a function at HTMLDocument.<anonymous> (app.js:28) at mightThrow (jquery.js:3766) at process (jquery.js:3834) Uncaught TypeError: this.dropdown is not a function at jQuery.fn.init.productAutoComplete (sylius-product-auto-complete.js:20) at HTMLDocument.<anonymous> (app.js:50) at mightThrow (jquery.js:3766) at process (jquery.js:3834)FWIW, changing from the Gulp build to Webpack Encore does seem to resolve this. But, I honestly have no idea how many wrenches that would throw into things.