Skip to content

Latest commit

 

History

History
60 lines (54 loc) · 1.57 KB

index.md

File metadata and controls

60 lines (54 loc) · 1.57 KB
layout title titleTemplate hero features
home
Vite
下一代的前端工具链
name text tagline image actions
Vite
下一代的前端工具链
为开发提供极速响应
src alt
/logo-with-shadow.png
Vite
theme text link
brand
开始
/guide/
theme text link
alt
为什么选 Vite?
/guide/why
theme text link
alt
在 GitHub 上查看
icon title details
💡
极速的服务启动
使用原生 ESM 文件,无需打包!
icon title details
⚡️
轻量快速的热重载
无论应用程序大小如何,都始终极快的模块热替换(HMR)
icon title details
🛠️
丰富的功能
对 TypeScript、JSX、CSS 等支持开箱即用。
icon title details
📦
优化的构建
可选 “多页应用” 或 “库” 模式的预配置 Rollup 构建
icon title details
🔩
通用的插件
在开发和构建之间共享 Rollup-superset 插件接口。
icon title details
🔑
完全类型化的API
灵活的 API 和完整的 TypeScript 类型。
<script setup> import { onMounted } from 'vue' import { fetchReleaseTag } from './.vitepress/utils/fetchReleaseTag.js' onMounted(() => { const urlParams = new URLSearchParams(window.location.search) if (urlParams.get('uwu') != null) { const img = document.querySelector('.VPHero .VPImage.image-src') img.src = '/logo-uwu.png' img.alt = 'Vite Kawaii Logo by @icarusgkx' } fetchReleaseTag() }) </script>