私は現在のバージョンのreact-boilerplate(webpackを使用しています)を使用し、Semantic-UI-私は私が手にサーバを起動すると公式ドキュメントhttp://react.semantic-ui.com/usageモジュールの解析に失敗しました:エラー:semantic/dist/semantic.min.css予期しない文字 '@'(11:0)
で説明:
Server started ! ✓
Access URLs:
-----------------------------------
Localhost: http://localhost:3000
LAN: http://192.168.100.103:3000
-----------------------------------
Press CTRL-C to stop
webpack built dba595efb772df0727e8 in 11657ms
ERROR in ./semantic/dist/semantic.min.css
Module parse failed: /Users/standardnerd/development/template/semantic/dist/semantic.min.css Unexpected character '@' (11:0)
You may need an appropriate loader to handle this file type.
| *
| */
| @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin);/*!
| * # Semantic UI 2.2.7 - Reset
| * http://github.com/semantic-org/semantic-ui/
@ ./app/app.js 20:0-43
@ multi main
私は「適切なローダー」どのような種類のが必要なのですか?
パーサは/semantic/dist/semantic.min.cssで@import文を好きではない:
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin);
この問題を解決する方法は?