Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VuetifyResolver remove sass warnings #48

Closed
Olyno opened this issue May 28, 2021 · 4 comments
Closed

VuetifyResolver remove sass warnings #48

Olyno opened this issue May 28, 2021 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@Olyno
Copy link

Olyno commented May 28, 2021

Hi πŸ‘‹πŸ»

I'm not sure if this problem is related to vite-plugin-components or vuetify directly, but when I start the dev server of vite, I get this warning for each components of Vuetify:

   β•·
62 β”‚     'sm': $grid-gutter / 6,
   β”‚           ^^^^^^^^^^^^^^^^
   β•΅
    node_modules/vuetify/src/styles/settings/_variables.scss 62:11     @import
    node_modules/vuetify/src/styles/settings/_index.sass 1:9           @import
    node_modules/vuetify/src/styles/styles.sass 2:9                    @import
    node_modules/vuetify/src/components/VTreeview/_variables.scss 1:9  @import
    node_modules/vuetify/src/components/VTreeview/VTreeview.sass 1:9   root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($grid-gutter, 3)

I find them annoying. Is there any way to hidde them or remove them?

@antfu antfu added the help wanted Extra attention is needed label May 28, 2021
@hannoeru
Copy link
Member

vuetifyjs/vuetify#13694

Use sass < 1.33 as workaround

@Olyno
Copy link
Author

Olyno commented May 28, 2021

Nice thanks you πŸ˜ƒ

@Olyno Olyno closed this as completed May 28, 2021
@stranavad
Copy link

And if I need math.div which is not in <1.33?

@wJoenn
Copy link

wJoenn commented Aug 25, 2023

@stranavad Why can't you use calc($grid-gutter / 3) instead ?
calc is part of vanilla css so there shouldn't be anything preventing you from using it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants