Icons not showing in prod on Azure #14988
-
After build the project , quasar icons not work just showing his names. -Using Quasar CLI with Vite My framework :
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
solution: create a web.config file like this
|
Beta Was this translation helpful? Give feedback.
solution: create a web.config file like this
'<'?xml version="1.0" encoding="UTF-8"?'>' <configuration> <system.webServer> <staticContent> <remove fileExtension="woff"/> <mimeMap fileExtension="woff" mimeType="application/font-woff" /> <remove fileExtension="woff2"/> <mimeMap fileExtension="woff2" mimeType="application/font-woff" /> <remove fileExtension=".json"/> <mimeMap fileExtension=".json" mimeType="application/json" /> <remove fileExtension=".svg"/> <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> </staticContent> </system.webServer> </configuration>
More details: https://social.msdn.microsoft.com/Forums/azure/en-US/4143086a-e02d-48bf-a32c-d1a2a78b58c4/deploying-app-service…