javascript – How to import and use min.js and min.css in React.js?-ThrowExceptions

Exception or error:

I am just converting html template into React.js component.

In html template, I have these reference links.

<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
...
<script src="js/bootstrap.min.js"></script>
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<script src="js/jquery.lwtCountdown-1.0.js"></script>
...

I want to import and use these script and CSS files in a specific component.

Does anyone have some experience with this?

Thanks in advance.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *