coreui-free-vue-admin-template icon indicating copy to clipboard operation
coreui-free-vue-admin-template copied to clipboard

Getting Deprecation Warning related to Sass

Open sachinkumar121 opened this issue 1 year ago • 0 comments

I have installed the latest version. When I run the npm run dev command, it gives many Deprecation Warning related to Sass.

Deprecation Warning on line 3, column 9 of src/App.vue: 
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
  ╷
3 │ @import 'styles/style';
  │         ^^^^^^^^^^^^^^
  ╵

Deprecation Warning on line 5, column 9 of src/App.vue: 
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
  ╷
5 │ @import 'styles/examples';
  │         ^^^^^^^^^^^^^^^^^
  ╵

Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.

More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning on line 2, column 9 of src/styles/style.scss: 
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
  ╷
2 │ @import "variables";
  │         ^^^^^^^^^^^
  ╵

Deprecation Warning on line 5, column 9 of src/styles/style.scss: 
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
  ╷
5 │ @import "@coreui/coreui/scss/coreui";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Deprecation Warning on line 6, column 9 of src/styles/style.scss: 
Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

More info and automated migrator: https://sass-lang.com/d/import
  ╷
6 │ @import "@coreui/chartjs/scss/coreui-chartjs";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Warning: 6 repetitive deprecation warnings omitted.

How can we remove(or silence) these warnings?

Environment Details:-

  • Operating system and version: macOS Monterey 12.7.6
  • Browser and version: Chrome Version 129.0.6668.101

sachinkumar121 avatar Oct 17 '24 09:10 sachinkumar121