reactjs - Reference folder in node_modules from index.html (create-react-app) -


i have project try out react, used create-react-app cli boilerplate.

i installed uikit npm it's there in node_modules folder, can't seem reference correctly index.html in public folder. node_modules in root directory, public, , since index.html in public folder go parent directory, , node_modules so:

<script src="../node_modules/uikit/dist/js/uikit-icons.min.js"></script> 

but... reference uikit icons isn't found. pathing after node_modules correct that's not problem. how should solve this?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -