Closed condorheroblog closed 9 months ago
<head> <meta charset="UTF-8" /> <link rel="icon" href="data:," /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>vite-plugin-fake-server</title> </head>
The above is the content of my index.html file, vite-react-ssg will render it as follows
If I use the Head component provided by vite-react-ssg, I still have this problem
Head
vite-react-ssg
import { Head as SSGHead } from "vite-react-ssg"; export function Head() { return ( <header> <SSGHead> <title>vite-plugin-fake-server</title> </SSGHead> </header> ); }
Whether you encountered this bug under the vite command?
vite
No, normal under vite command.
You Rock👍
The above is the content of my index.html file, vite-react-ssg will render it as follows
If I use the
Head
component provided byvite-react-ssg
, I still have this problem