init(11): setting up tailwindcss
This commit is contained in:
parent
4475943a98
commit
6fec3d54ee
|
@ -0,0 +1,3 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
|
@ -11,13 +11,18 @@ object App extends cask.MainRoutes {
|
||||||
def index() = doctype("html")(
|
def index() = doctype("html")(
|
||||||
html(
|
html(
|
||||||
head(
|
head(
|
||||||
tags2.title("Exercise 11")
|
tags2.title("Exercise 11"),
|
||||||
|
link(rel := "stylesheet", href := "/dist/output.css")
|
||||||
),
|
),
|
||||||
body(
|
body(
|
||||||
|
cls := "bg-blue-100",
|
||||||
h1("Welcome to the future")
|
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()
|
initialize()
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: ["./src/**/*.scala"],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue