diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-06-02 08:26:33 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-06-02 08:26:33 -0500 |
| commit | 474851c82cc9c9c93f80d9a41569e95272da2997 (patch) | |
| tree | 049a284cc69a15e6bfd31a04cbcf7a2b8613ac97 | |
| parent | 697ca9ab37444117a5345c4685dcfd07221887ae (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.
| -rw-r--r-- | src/App.svelte | 6 |
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 /> |
