Skip to content

Commit

Permalink
feat(ui): add htmx import via script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCassiere committed Jul 2, 2024
1 parent f8ae0ed commit 7fe25aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/routers/app/layouts/root-document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ export const RootDocument: FC<PropsWithChildren<{ title: string }>> = ({ title,
<meta charset="UTF-8"></meta>
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
<title>{title}</title>
<script
src="https://unpkg.com/[email protected]"
integrity="sha384-wS5l5IKJBvK6sPTKa2WZ1js3d947pvWXbPJ1OmWfEuxLgeHcEbjUUA5i9V5ZkpCw"
crossorigin="anonymous"
></script>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-950 dark:bg-gray-950 dark:text-gray-50">{children}</body>
Expand Down

0 comments on commit 7fe25aa

Please sign in to comment.