Initial Config of components

- eleventy
- tailwindcss
- postcss
- webpack
This commit is contained in:
Philipp Klüter
2021-09-15 08:00:11 +02:00
parent 61bf73dc36
commit bad5d0302a
7 changed files with 87 additions and 0 deletions

1
src/_bundle/main.js Normal file
View File

@@ -0,0 +1 @@
import './main.pcss';

3
src/_bundle/main.pcss Normal file
View File

@@ -0,0 +1,3 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

15
src/_includes/layout.njk Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/assets/main.bundle.css">
<link rel="stylesheet" href="https://upkg.com/prismjs@1.20.0/themes/prism-okaida.css">
<script src="/assets/main.bundle.js" defer></script>
<title>{{title}}</title>
</head>
<body>
<main></main>
</body>
</html>