build: initial configuration of Tailwind CSS
This commit is contained in:
parent
613c6b1e0e
commit
87c694eec3
4 changed files with 24 additions and 2 deletions
17
fractal/src/components/_preview.njk
Normal file
17
fractal/src/components/_preview.njk
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<title>{{ _target.title }} · {{ _config.project.title }}</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ '/build/tailwind.css' | path }}">
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-100">
|
||||
{{ yield | safe }}
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue