vite-plugin-mpa-plus icon indicating copy to clipboard operation
vite-plugin-mpa-plus copied to clipboard

More flexible MPA (multipage application) supports html template

Results 5 vite-plugin-mpa-plus issues
Sort by recently updated
recently updated
newest added

1. fix: when set filename as index.html, it will deleted [fix line](https://github.com/rfirefly/vite-plugin-multiple-page/blob/65881a9aab8aca07eef36a01ef48cb258e3b1fd6/packages/core/src/htmlFixPlugin.ts#L99) 2. fix: use same template [fix line](https://github.com/rfirefly/vite-plugin-multiple-page/blob/65881a9aab8aca07eef36a01ef48cb258e3b1fd6/packages/core/src/htmlFixPlugin.ts#L91)

I use rollup to define some custom names and chunks. The plugin doesn't like that; it always imports `index.bundle.js`, so every page output is exactly the same. **Expected**: Generated html...

I expected the page to be in the root and be called `internal` This config ```javascript import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import mpaPlugin from "vite-plugin-mpa-plus";...

``` app1: { entry: 'entries/main/index.tsx', filename: '/pages/main.html', template: 'entries/main/index.html', inject: { data: { title: 'mpa-app1', }, }, }, ``` 访问 127.0.0.1:5173/page/main.html 404

enhancement

![image](https://github.com/yzydeveloper/vite-plugin-mpa-plus/assets/150102390/87e71aa2-0a22-4de9-82fa-fe3791044fe9)