vuematerial / vue-material

Vue.js Framework - ready-to-use Vue components with Material Design, free forever.
https://www.creative-tim.com/vuematerial
MIT License
9.88k stars 1.16k forks source link

Feature: import themes using the Sass recommended @use statement #2268

Open alexvenetis opened 3 years ago

alexvenetis commented 3 years ago

Feature: To import themes using the Sass recommended @use statement instead of the soon-to-be-deprecated @import statement

1) Why? -SASS documentation advises the @import statement will be phased out by October 2021 -https://sass-lang.com/documentation/at-rules/import -https://github.com/sass/sass/blob/master/accepted/module-system.md#timeline

2) What will it allow you to do that you can't do today? -to import themes using the Sass recommended @use statement instead of the soon-to-be-deprecated @import statement

3) How will it make current work-arounds straightforward? -currently, the @use statement won't work with themes

4) What potential bugs and edge cases does it help to avoid? -once the Sass team deprecates the @import statement, the vue-material theme engine will not work as documented -https://vuematerial.io/themes/configuration