質問編集履歴

2

補足追加

2017/04/09 09:05

投稿

YoshitomoYasuno
YoshitomoYasuno

スコア6

test CHANGED
File without changes
test CHANGED
@@ -324,4 +324,8 @@
324
324
 
325
325
  console.log(styles.searchContainer)はundefinedです
326
326
 
327
+ bundle.cssを見たところsearchStyle.cssがoutputされていませんでした
328
+
329
+
330
+
327
331
  css-modulesでスタイルを当てられるようにするにはどうすればいいでしょうか

1

ファイル名追加

2017/04/09 09:05

投稿

YoshitomoYasuno
YoshitomoYasuno

スコア6

test CHANGED
File without changes
test CHANGED
@@ -32,6 +32,10 @@
32
32
 
33
33
 
34
34
 
35
+ webpack.config.js
36
+
37
+
38
+
35
39
  ```webpack.config.js
36
40
 
37
41
  const webpack = require('webpack')
@@ -178,6 +182,10 @@
178
182
 
179
183
 
180
184
 
185
+ Search.js
186
+
187
+
188
+
181
189
  ```Search.js
182
190
 
183
191
  import React, { Component } from 'react'
@@ -284,6 +292,10 @@
284
292
 
285
293
 
286
294
 
295
+ searchStyles.css
296
+
297
+
298
+
287
299
  ```searchStyles.css
288
300
 
289
301
  .searchContainer {