Skip to content

Marinerer/vite-plugins

Repository files navigation

vite logo

Vite plugins

Developing vite plugins.

name version description
vite-plugin-page-html version processing HTML pages (SPA/MPA).
vite-plugin-vanilla version Vanilla multi-page web development mode.
vite-plugin-minify-html version minify HTML file.

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-clipages选项 类似。

  • 📚 SPA and MPA modes
  • 📡 Customizable page alias
  • 🔑 Shared or custom template and entry
  • 🗳 EJS template syntax support
  • 🗜 HTML file compression for faster loading
  • 🔗 Easy inclusion CDN resources

Vanilla multi-page web development mode based on Vite.

基于 Vite 的传统多页面 web 开发模式。

Minify HTML files.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.