Commit bd3d30b5 by zhangxw

1

1 parent afde26d2
import { createRouter, createWebHashHistory } from "vue-router";
import { createRouter, createWebHistory } from "vue-router";
import routes from "./routes";
const router = createRouter({
history: createWebHashHistory("/miniapp"),
history: createWebHistory("/miniapp"),
routes: routes.baseRoutes,
});
......
......@@ -11,7 +11,7 @@ function resolve(dir) {
return path.join(__dirname, ".", dir);
}
module.exports = defineConfig({
publicPath: "/miniapp",
publicPath: "./",
transpileDependencies: true,
devServer: {
port: 9527,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!