- v0.5.1 of RSK. Just saying.. the procedure is fairly general.
-
add to package.json after the react-dom dependency:
"react-mdl": "^1.4.4",
then runnpm install
to fetch it. -
add to the 'await' ncp array in tools/copy.js :
ncp('node_modules/react-mdl/extra/material.js', 'build/public/material.js'),```
-
add to the head section in src/views/index.jade :
link(rel="stylesheet", href="material.css")
-
add to the body section in src/views/index.jade :
script(src='material.js')