Vue-loader v15 css modules configuration

configuring CSS Modules has no effect.
when you try to configure it like the official website document, add this code, all css styles will fail
configuration figure:



modules


modulesheader

Oct.05,2021

in fact, I didn't express my thoughts clearly this time.
paid to ask the question, I got a satisfactory reply.
when modules is enabled, all selectors are redefined, so the matching of page elements is messed up
. As for the style of header, it is not enabled because the original configuration is written in vue-loader.config.js. Later, I forgot to turn on camelCase.
here is another way to write it: class= "$style ['main-header']"

Menu