mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
docs: add vite audio for pronunciation (#4941)
This commit is contained in:
parent
3e3c20364d
commit
4b90e0fee9
@ -28,3 +28,13 @@
|
||||
.DocSearch {
|
||||
--docsearch-primary-color: var(--c-brand) !important;
|
||||
}
|
||||
|
||||
#play-vite-audio {
|
||||
padding: 0;
|
||||
margin-left: 5px;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
#play-vite-audio img {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
@ -1,8 +1,12 @@
|
||||
# Getting Started
|
||||
|
||||
<audio id="vite-audio">
|
||||
<source src="/vite.mp3" type="audio/mpeg">
|
||||
</audio>
|
||||
|
||||
## Overview
|
||||
|
||||
Vite (French word for "fast", pronounced `/vit/`) is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
|
||||
Vite (French word for "fast", pronounced `/vit/`<button id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><img src="/voice.svg" height="15"></button>) is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
|
||||
|
||||
- A dev server that provides [rich feature enhancements](./features) over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), for example extremely fast [Hot Module Replacement (HMR)](./features#hot-module-replacement).
|
||||
|
||||
|
BIN
docs/public/vite.mp3
Normal file
BIN
docs/public/vite.mp3
Normal file
Binary file not shown.
6
docs/public/voice.svg
Normal file
6
docs/public/voice.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img"
|
||||
class="iconify iconify--mdi" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.84-5 6.7v2.07c4-.91 7-4.49 7-8.77c0-4.28-3-7.86-7-8.77M16.5 12c0-1.77-1-3.29-2.5-4.03V16c1.5-.71 2.5-2.24 2.5-4M3 9v6h4l5 5V4L7 9H3z"
|
||||
fill="currentColor"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 456 B |
Loading…
Reference in New Issue
Block a user