Closed
Description
What problem does this feature solve?
Currently, the generated classes from CSS modules only include the hash by default, which makes identifying that class at a glance quite difficult. I think most people would probably prefer generated class names that look more like NavBar__container__dsRsJ_0
, which current requires this option in vue.config.js
:
vueLoader: {
cssModules: {
localIdentName: '[name]__[local]__[hash:base64:5]'
}
}
What does the proposed API look like?
What are thoughts on the localIdentName
above being the default?