Issue with stylesheet

so i am this issue here as u can see in the video where my stylesheet is for some reason being added multiple times and being removed continuously. And u can see my page is also loosing styles for that when the stylesheet gets completely removed. I am doing a react project here and this is the first time i have encountered this issue. Idk what else info i should add here but pls do ask if theres anything i should let you know here is my github repo for this project
GitHub
GitHub - glutonium69/discord-clone: "A React project with scss clon...
"A React project with scss cloning discord webpage" - GitHub - glutonium69/discord-clone: "A React project with scss cloning discord webpage"
7 Replies
Tok124 (CSS Nerd)
Tok124 (CSS Nerd)โ€ข12mo ago
delete react problem solved ๐Ÿ˜‚ ๐Ÿ˜
glutonium
glutoniumOPโ€ข12mo ago
dats like saying, having headache?? cut off your head ๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚
MarkBoots
MarkBootsโ€ข12mo ago
GitHub
Vite generates multiple copies of the same stylesheet ยท Issue #4448...
Describe the bug I am using the following vite config option to make global styles available in React components without requirement of usage of "@import '../../syles/main" in each co...
Tok124 (CSS Nerd)
Tok124 (CSS Nerd)โ€ข12mo ago
Hahahaha ๐Ÿ˜‚
glutonium
glutoniumOPโ€ข12mo ago
thank you very mucu so I suppose it's a problem with vite according to the conversation, there IS work around so ig i need to understand the work arouns code to implement it tnx โค๏ธ
MarkBoots
MarkBootsโ€ข12mo ago
yea, unfortunatly i can't help with that. no experience with it
glutonium
glutoniumOPโ€ข12mo ago
no prob
Want results from more Discord servers?
Add your server