Skip to content

Commit b862f5b

Browse files
committed
refactor(ui): improve index
- update index.dev.html with new command to run ui in dev mode - added noscript message in index.html - add head tag to index.html
1 parent 30faff5 commit b862f5b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ui/index.dev.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
class="text-white bg-gray-700 mx-auto my-8 max-w-md overflow-hidden rounded-lg"
4848
>
4949
<div class="px-4 py-5 sm:p-6">
50-
<pre><span class="text-violet-300">$</span>&nbsp;cd ui && npm run dev</pre>
50+
<pre><span class="text-violet-300">$</span>&nbsp;mage ui:dev</pre>
5151
</div>
5252
</div>
5353
<div class="mt-16 flex items-center justify-center gap-x-6">

ui/index.html

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<!doctype html>
22
<html lang="en" class="bg-white h-full w-auto">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Flipt</title>
6+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7+
</head>
38
<body class="h-full antialiased">
9+
<noscript class="flex h-full items-center justify-center">
10+
please enable javascript to run it
11+
</noscript>
412
<div id="root"></div>
513

614
<script type="module" src="/src/main.tsx"></script>

0 commit comments

Comments
 (0)