Skip to content

Instantly share code, notes, and snippets.

@dsebastien
Created October 17, 2021 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsebastien/c21f83884817b427fbb323e2d645f7b4 to your computer and use it in GitHub Desktop.
Save dsebastien/c21f83884817b427fbb323e2d645f7b4 to your computer and use it in GitHub Desktop.
Load Tailwind component in App component
<script lang="ts">
import Tailwind from "./Tailwind.svelte";
export let name: string;
</script>
<Tailwind />
<style lang="postcss">
</style>
<main>
<h1>Hello {name} from the Svelte Tailwind Nx template!</h1>
</main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment