feat: initialized tailwind
basic conig targetting templ templ html page with import Makefile job that generates for the run
This commit is contained in:
12
hello.templ
12
hello.templ
@@ -4,7 +4,13 @@ var myVar string = "some string, changed. and more"
|
||||
var anotherVar string = "hoho, cool"
|
||||
|
||||
templ hello(name string) {
|
||||
<div>Hello, {name}. referencing var: {myVar}</div>
|
||||
<html>
|
||||
<head>
|
||||
<title>This is the title of the webpage!</title>
|
||||
<link href="./static/output.css" rel="stylesheet"/>
|
||||
</head>
|
||||
<body class="bg-blue-200">
|
||||
<p class="text-purple-500">This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user