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
delete react problem solved ๐ ๐
dats like saying, having headache?? cut off your head ๐๐๐
maybe check this out
https://github.com/vitejs/vite/issues/4448
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...
Hahahaha ๐
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 โค๏ธ
yea, unfortunatly i can't help with that. no experience with it
no prob