Alex

Results 15 comments of Alex

I think, I have the idea how to properly create many slugs without manually updating each of them in content manager, but it's still a temporary workaround (I use Next.js)....

Hello! I know it's an old issue, but I also have this exact problem. I did everything just like OP, but Modernizr doesn't assign classes to html tag. Docs say...

Changed. Re-built. No tags still.

**modernizr.js**: ``` /*! modernizr 3.11.3 (Custom Build) | MIT * * https://modernizr.com/download/?-webp-setclasses-testprop !*/ !function(e,n,t,o){function r(e,n){return typeof e===n}function i(e){var n=y.className,t=Modernizr._config.classPrefix||"";if(w&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(o,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(e.length>0&&(n+=" "+t+e.join(" "+t)),w?y.className.baseVal=n:y.className=n)}function a(e,n){return!!~(""+e).indexOf(n)}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):w?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function l(){var e=t.body;return e||(e=s(w?"svg":"body"),e.fake=!0),e}function A(e,n,o,r){var...

No webp classes. I've rebuilt everything again, still nothing. Maybe Modernizr is JS-specific and doesn't work correctly with Next.js...

Here (html tag has only lang attr that I wrote manually): https://portfolio-ruddy-phi.vercel.app/

Sorry, I'm not qualified enough about bundles. I don't do bundle config since it's done under the hood.

Thanks, Patrick! I'll check it.

As a temporary workaround we can set the tags (that will serve as collections) to products and then filter the products by specifying the array of tags' ids in the...