You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to prevent adding ".css" to the end of the request URL?
I want to load Google font icons: require('css!https://fonts.googleapis.com/icon?family=Material+Icons')
This is the result: <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons.css">
My current ugly workaround is that I add an ampersand (&) to the end, so the ".css" appears as a separate parameter: require('css!https://fonts.googleapis.com/icon?family=Material+Icons&') <link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&.css">
The text was updated successfully, but these errors were encountered:
Is there a way to prevent adding ".css" to the end of the request URL?
I want to load Google font icons:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons')
This is the result:
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons.css">
My current ugly workaround is that I add an ampersand (&) to the end, so the ".css" appears as a separate parameter:
require('css!https://fonts.googleapis.com/icon?family=Material+Icons&')
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&.css">
The text was updated successfully, but these errors were encountered: