DEV Community

Mulligan81
Mulligan81

Posted on

Adding `js` script to the React project.

How can i add a simple, classic js script to the react project?
I've tried to add it just by adding
<script src="../src/alert.js"></script>
in the head of the index.html but it seems not to work!

Top comments (0)