Explorar o código

fix: build error

vben %!s(int64=4) %!d(string=hai) anos
pai
achega
7bd0b8eb6f
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 0 0
      index.html
  2. 2 1
      vite.config.ts

+ 0 - 0
public/index.html → index.html


+ 2 - 1
vite.config.ts

@@ -64,7 +64,8 @@ const viteConfig: UserConfig = {
    * `index.html` does not exist (e.g. serving vite assets from a different host)
    * @default 'index.html'
    */
-  entry: 'public/index.html',
+  // TODO build error
+  // entry: './public/index.html',
   /**
    * 端口号
    * @default '3000'