aboutsummaryrefslogtreecommitdiff
path: root/src/App.svelte
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-06-02 08:26:33 -0500
committerFurkan Sahin <furkan-dev@proton.me>2022-06-02 08:26:33 -0500
commit474851c82cc9c9c93f80d9a41569e95272da2997 (patch)
tree049a284cc69a15e6bfd31a04cbcf7a2b8613ac97 /src/App.svelte
parent697ca9ab37444117a5345c4685dcfd07221887ae (diff)
Normally these would go inside a file named `tailwind.css` to be compiled into `index.css` included in `index.html`. I had trouble trying to set that up (no docs for this) so this solution I found works fine.
Diffstat (limited to 'src/App.svelte')
-rw-r--r--src/App.svelte6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.svelte b/src/App.svelte
index 4fbef54..260e037 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -2,4 +2,10 @@
import Editor from "./components/Editor.svelte";
</script>
+<style global>
+ @tailwind base;
+ @tailwind components;
+ @tailwind utilities;
+</style>
+
<Editor />