init(11): setting up tailwindcss
This commit is contained in:
@@ -11,13 +11,18 @@ object App extends cask.MainRoutes {
|
||||
def index() = doctype("html")(
|
||||
html(
|
||||
head(
|
||||
tags2.title("Exercise 11")
|
||||
tags2.title("Exercise 11"),
|
||||
link(rel := "stylesheet", href := "/dist/output.css")
|
||||
),
|
||||
body(
|
||||
cls := "bg-blue-100",
|
||||
h1("Welcome to the future")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
@cask.staticFiles("/dist") // this is what path gets matched
|
||||
def distFiles() = "dist" // this is os path where files are looked up
|
||||
|
||||
initialize()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user