Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marinerer/vite-plugins
vite plugins. Vite 插件仓库。
https://github.com/marinerer/vite-plugins
vite-plugin vite-plugin-cdn vite-plugin-html vite-plugin-html-inject vite-plugin-html-variables vite-plugin-pages
Last synced: 7 days ago
JSON representation
vite plugins. Vite 插件仓库。
- Host: GitHub
- URL: https://github.com/marinerer/vite-plugins
- Owner: Marinerer
- License: mit
- Created: 2022-09-17T02:31:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T11:52:51.000Z (over 1 year ago)
- Last Synced: 2024-10-29T23:56:24.052Z (8 days ago)
- Topics: vite-plugin, vite-plugin-cdn, vite-plugin-html, vite-plugin-html-inject, vite-plugin-html-variables, vite-plugin-pages
- Language: TypeScript
- Homepage:
- Size: 172 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vite plugins
Vite 插件库
## 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. Support EJS template syntax and multi-page configuration, can specify html file directory and access URL, Similar to the [pages](https://cli.vuejs.org/config/#pages) option of vue-cli.
简单灵活的处理html的Vite插件。支持EJS模板语法和多页面配置,可指定html文件目录及访问路径,类似于`vue-cli` 的[pages选项](https://cli.vuejs.org/en/config/#pages) 。
### features
* 📚 Multi-page/Single-page application support
* 📡 Html entry alias (custom url)
* 📊 Support custom `template`
* 🔑 Support custom `entry`
* 🗳 EJS template capability
* 🔗 External library import (CDN)
* 🗜 HTML compression capability