Skip to content

Marinerer/vite-plugins

Repository files navigation

vite logo

Vite plugins

Developing vite plugins.

1. vite-plugin-page-html

English | 中文

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

Features

  • 📚 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