Skip to content

Commit

Permalink
docs: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinerer committed Nov 11, 2024
1 parent f45221a commit ab1c512
Showing 1 changed file with 25 additions and 8 deletions.
33 changes: 25 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,39 @@
</p>
</div>

| 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).

0 comments on commit ab1c512

Please sign in to comment.