我有一个在线托管的 .css 文件。如何将它导入到我的反应组件中?
import mystyles from 'https://www.myserver.com/styleguide/latest/css/mystyles.min.css';
这会导致错误
Module not found: Error: Can't resolve 'https://www.myserver.com/styleguide/latest/css/mystyles.min.css' in '/Users/busda001/code/electrode-app/src/client/components'