I need to include a js library into my Shiny app. Currently I use includeHTML to include the script directly into html codes. e.g.
The browser will show "Not Found" when I try to browser the js file if I use tags$script, e.g.
http://127.0.0.1:7106/URL.js tags$script(src = 'URL.js')
Now I put URL.js in the same folder of ui.r and server.r.
Where I should store the URL.js file? Or are there other ways to include a js file?
Thanks for any suggestions.
©2020 All rights reserved.