Install tailwindcss

This commit is contained in:
Matthew Barnes 2023-05-29 16:15:00 +01:00
parent 00356e81d8
commit 348cd661d2
Signed by: mb2g17
GPG Key ID: 2D2CFBEE0B64E30B
6 changed files with 1068 additions and 0 deletions

1042
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,11 @@
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.5.0",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.24",
"svelte": "^3.54.0",
"svelte-check": "^3.0.1",
"tailwindcss": "^3.3.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.3.0"

6
postcss.config.js Normal file
View File

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

3
src/app.css Normal file
View File

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -0,0 +1,5 @@
<script>
import "../app.css";
</script>
<slot />

9
tailwind.config.js Normal file
View File

@ -0,0 +1,9 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,svelte,ts}"],
theme: {
extend: {},
},
plugins: [],
}