From ab1c512d57b39333122083372bec9557406495c4 Mon Sep 17 00:00:00 2001 From: Meqn Date: Mon, 11 Nov 2024 12:03:26 +0000 Subject: [PATCH] docs: Update README --- README.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b90690e..f66db83 100644 --- a/README.md +++ b/README.md @@ -8,22 +8,39 @@

+| name | version | description | +| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | +| [vite-plugin-page-html](https://github.com/Marinerer/vite-plugins/tree/main/packages/page-html) | [![version](https://img.shields.io/npm/v/vite-plugin-page-html?style=flat-square&logo=npm)](https://www.npmjs.com/package/vite-plugin-page-html) | processing HTML pages (`SPA/MPA`). | +| [vite-plugin-vanilla](https://github.com/Marinerer/vite-plugins/tree/main/packages/vanilla) | [![version](https://img.shields.io/npm/v/vite-plugin-vanilla?style=flat-square&logo=npm)](https://www.npmjs.com/package/vite-plugin-vanilla) | Vanilla multi-page web development model. | +| [vite-plugin-minify-html](https://github.com/Marinerer/vite-plugins/tree/main/packages/minify-html) | [![version](https://img.shields.io/npm/v/vite-plugin-minify-html?style=flat-square&logo=npm)](https://www.npmjs.com/package/vite-plugin-minify-html) | minify HTML file. | +## [vite-plugin-page-html](https://github.com/Marinerer/vite-plugins/tree/main/packages/page-html) -## 1. vite-plugin-page-html - -[English](./packages/page-html/README.md) | [中文](./packages/page-html/README.zh_CN.md) - -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]((https://cli.vuejs.org/en/config/#pages)). +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](<(https://cli.vuejs.org/en/config/#pages)>). 一个用于处理 HTML 页面的 `Vite` 插件,集成了多页面配置(`MPA`)`、EJS` 模板支持和 HTML 压缩功能。其多页面配置方式与 `vue-cli` 的[pages选项](https://cli.vuejs.org/en/config/#pages) 类似。 - -### 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 + +## [vite-plugin-vanilla](https://github.com/Marinerer/vite-plugins/tree/main/packages/vanilla) + +Vanilla multi-page web development model based on `Vite`. + +基于 `Vite` 的传统多页面 web 开发模式。 + +## [vite-plugin-minify-html](https://github.com/Marinerer/vite-plugins/tree/main/packages/minify-html) + +Minify HTML files. + +## License + +MIT + +## Contributing + +Contributions are welcome! Please feel free to submit a [Pull Request](https://github.com/Marinerer/vite-plugins/pulls).