ReactJS + Redux:在哪里正确包含CSS和index.html文件?

时间:2016-08-15 18:14:22

标签: javascript html css reactjs

我目前为<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Practice Example</title> <!-- favicon --> <link rel="icon" href="/img/favicon.ico"/> <meta name="description" content="Practice Example"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1, minimum-scale=1" > <link rel="stylesheet" type="text/css" href="app.css"> </head> <body> <div id="app"></div> <script> var WebFontConfig = { google: { families: [ 'Roboto:400,300,500:latin' ] } }; (function() { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); </script> <script src="bundle.js"></script> </body> </html> 设置的是

c.setopt(pycurl.HTTPHEADER, ...)

我正在尝试按照以下教程http://callmenick.com/post/animated-resizing-header-on-scroll进行操作,下载的源代码包含以下文件:

enter image description here

我应该在哪里以及如何干净利落地将index.html整合到我的中?我也应该使用.css或.scss或两者兼而有之?

提前谢谢!

0 个答案:

没有答案