add noscript message
This commit is contained in:
parent
41630149b3
commit
f830e99a64
3 changed files with 6 additions and 1 deletions
|
@ -8,6 +8,10 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<noscript>
|
||||
<h1 style="color: #ffffff;">This application requires JavaScript.</h1>
|
||||
<img src="/noscript.png" style="max-width: 100%;" />
|
||||
</noscript>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
BIN
web/public/noscript.png
Normal file
BIN
web/public/noscript.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 251 KiB |
|
@ -3,5 +3,6 @@ import react from '@vitejs/plugin-react'
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()]
|
||||
plugins: [react()],
|
||||
publicDir: 'public',
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue