We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce6d22d commit a420aa5Copy full SHA for a420aa5
vite.config.js
@@ -5,6 +5,7 @@ import vueJsx from "@vitejs/plugin-vue2-jsx";
5
6
// https://vite.dev/config/
7
export default defineConfig({
8
+ base: "",
9
plugins: [vueJsx(), vue()],
10
server: {
11
port: 8080,
@@ -14,7 +15,7 @@ export default defineConfig({
14
15
outDir: path.resolve(__dirname, "dist/public"),
16
rollupOptions: {
17
// input: path.resolve(__dirname, "src-frontend/index.html"), // 指定入口 HTML 文件
-
18
+
19
output: {
20
entryFileNames: "js/[name]-[hash].js",
21
chunkFileNames: "js/[name]-[hash].js",
0 commit comments