diff --git a/config/index.ts b/config/index.ts index f4ca783..e8bcfd3 100644 --- a/config/index.ts +++ b/config/index.ts @@ -53,10 +53,10 @@ export default defineConfig(async (merge, {}) => { }, }, h5: { - publicPath: '/public/', + publicPath: '/', staticDirectory: 'static', router: { - mode: 'hash', + mode: 'browser', }, output: { filename: 'js/[name].[hash:8].js',