Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder for external CSS or images #1

Open
FedericoTrifoglio opened this issue Apr 16, 2021 · 1 comment
Open

Folder for external CSS or images #1

FedericoTrifoglio opened this issue Apr 16, 2021 · 1 comment

Comments

@FedericoTrifoglio
Copy link

If you had an external CSS for this app-package where would you place it?

I've tried the following without success

  • css in www folder + tags$link(rel = "stylesheet", type = "text/css", href = "custom.css")
  • css in www folder + tags$link(rel = "stylesheet", type = "text/css", href = "www/custom.css")
  • css in inst/www folder + tags$link(rel = "stylesheet", type = "text/css", href = "custom.css")
  • css in inst/www folder + tags$link(rel = "stylesheet", type = "text/css", href = "www/custom.css")

This book you recommended suggests using golem
https://engineering-shiny.org/css.html#including-external-files

@DarioS
Copy link

DarioS commented Sep 6, 2022

Similar to Federico, I have images in a folder named www and a CSS file in a folder named styling. What's the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants