I've created a basic Vue project (with Vue CLI 3) and when styling Vue components with scoped attribute the changes are not applied with hot reload module feature.
<style lang="scss" scoped>
.component-info {
background: #ddd;
padding: 1em;
margin: 1em;
color: blue;
}
</style>
If I remove scoped
attribute from <style>
element then styles are applied in browser the moment I save file but then styles are not local (scoped) to the component anymore.
Is there any way to enable HMR with Vue scoped styles?