Skip to content

alias doesn't work when forwarding vuetify SASS vars in windows machine #274

@jd-solanki

Description

@jd-solanki

Hi kael,

Thanks so much for improving vuetify loader ❤️

I am using it since it was maybe in alpha or beta, Great Work 💪🏻

However, While working on materio admin and improving it I found that overriding SCSS vars using configFile option and using vite aliases to forward the variables doesn't work on windows. I have confirmed on my own.

Reproduction steps:

  • Clone "vars-from-template" branch from this repo
  • Install dependencies via npm i
  • Run via npm run dev

Mac

In mac everything seems fine, you will get skyblue color in button

Windows

Here, somehow vuetify loader can't identify the alias path and doesn't pick up skyblue color 🤔


P.S. Please make sure to refer to vars-from-template branch

Thanks for your hard work 😊

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions