Browse Source

fix: build error

vben 4 years ago
parent
commit
7bd0b8eb6f
2 changed files with 2 additions and 1 deletions
  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'