SyntaxError - SFC's CSS Interpreted as JS #12765
Unanswered
titouandk
asked this question in
Help/Questions
Replies: 1 comment
-
This seems to be an nginx configuration issue, not a vuejs/core bug |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vue version
3.5.13
Link to minimal reproduction
NA
Steps to reproduce
I am developing a Vue app on a private cloud solution.
On
/
, I get a VS Code web IDE.On
/proxy/5050/
, I have a reverse proxy forwarding the requests to the Vite dev server.What is expected?
I have a simple component
AppBanner
called from my Vue app:What is actually happening?
The component's CSS seems to be interpreted as JS by the browser (Firefox):
The request sent by the browser (to the proxy, that redirects it to the Vite server):
The response received by the browser (from the Vite server, transiting via the proxy):
System Info
Any additional comments?
No response
Beta Was this translation helpful? Give feedback.
All reactions