A simple and flexible Vite plugin for processing HTML pages, integrating multi-page application (MPA) configuration, EJS template support, and HTML compression. The MPA configuration is similar to the pages option in vue-cli.
一个用于处理 HTML 页面的 Vite
插件,集成了多页面配置(MPA
)、EJS
模板支持和 HTML 压缩功能。其多页面配置方式与 vue-cli
的pages选项 类似。
- 📚
SPA
andMPA
modes - 📡 Customizable page alias
- 🔑 Shared or custom
template
andentry
- 🗳
EJS
template syntax support - 🗜 HTML file compression for faster loading
- 🔗 Easy inclusion CDN resources