@sunday-sky/vite-plugin-mpa
v1.0.1
Published
The vite plugin for multi-page application
Maintainers
Readme
Vite-plugin-mpa
Description
This plugin provides true MPA functionality for Vite, eliminating various limitations of Vite MP.
No matter where your entry files/template files are located, you can access pages through the root route, making it perfect for embedded page development.
http://localhost:5173/index.html
http://localhost:5173/about.html
...🙅🏻♀️: ~~No need to search everywhere for your MPA page addresses.~~
Try the demo.
Features
- True MPA.
- Load pages on demand - no matter how many pages you have, only the current page will be loaded.
- Support for reusing template files.
- Support for 404 pages.
- Support for
vue,react...and all frameworks supported by Vite.
Docs
More docs see vite-plugin-mpa docs.
