css in html
Opened this issue · 2 comments
VitaliyGaliy commented
How can I add main css file directly in html template? For example I have a bootstrap theme and stlyle.css, so in create-react-app I simply add -
VitaliyGaliy commented
If I add it this way -
........
import myStyle from './style.js'
const chunkNames = flushChunkNames()
const { js, styles, cssHash } = flushChunks(clientStats, { chunkNames })
......
<!doctype html> <html> <head> <meta charset="utf-8"> <title>redux-first-router-demo</title> ${styles} ${myStyle} ..... I
ll got [Object Object]