I'm trying to integrating HTML , CSS Shiny applications and have succeeded with regular CSS; however, I'm having trouble trying to integrate Sass CSS:
To create a simple and reproducible example, I've taken corresponding HTML and CSS code from this CodePen example placing these files radio.css and radio.html into the www/ directory:
Then I create a simply app.R :
library(shiny)
ui <- fluidPage(
includeHTML("www/radio.html"), # include HTML
includeCSS("www/radio.css"), # include CSS
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)
This works as expected.
However, trying another example that use SCSS fails:
library(shiny)
library(shinyMobile)
library(sass) # Needed to run Sass compiler for CSS?
ui <- f7Page(
includeHTML("www/pingpong.html"),
includeCSS("www/pingpong.css")
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)