<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>create-vite on 编程那些事儿</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/</link><description>Recent content in create-vite on 编程那些事儿</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 27 Mar 2026 21:25:30 +0800</lastBuildDate><atom:link href="https://before80.github.io/prgms/Js/tools/scaffold/create-vite/index.xml" rel="self" type="application/rss+xml"/><item><title>第1章 Create-Vite 是什么</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-01-What-Is-Create-Vite/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-01-What-Is-Create-Vite/</guid><description>&lt;h1 id="第一章create-vite-是什么"&gt;第一章：Create-Vite 是什么&lt;/h1&gt;
&lt;h2 id="11-create-vite-与-vite-的关系"&gt;1.1 Create-Vite 与 Vite 的关系&lt;/h2&gt;
&lt;p&gt;想象一下，你走进了一家全自动机器人餐厅。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Vite&lt;/strong&gt; 就是那个后厨里挥汗如雨的大厨——它负责真正把饭做出来（构建你的项目），切菜、炒菜、摆盘，一条龙服务。没有它，你的前端代码就只能是一堆原始食材（&lt;code&gt;.js&lt;/code&gt;、&lt;code&gt;.vue&lt;/code&gt;、&lt;code&gt;.css&lt;/code&gt; 文件），永远上不了餐桌。&lt;/p&gt;</description></item><item><title>第2章 Create-Vite 能做什么</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-02-What-Can-Create-Vite-Do/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-02-What-Can-Create-Vite-Do/</guid><description>&lt;h1 id="第二章create-vite-能做什么用途"&gt;第二章：Create-Vite 能做什么（用途）&lt;/h1&gt;
&lt;h2 id="21-快速初始化前端项目"&gt;2.1 快速初始化前端项目&lt;/h2&gt;
&lt;h3 id="211-什么是初始化为什么它值得专门做一个工具"&gt;2.1.1 什么是&amp;quot;初始化&amp;quot;？为什么它值得专门做一个工具？&lt;/h3&gt;
&lt;p&gt;写代码之前，项目要先&amp;quot;站起来&amp;quot;。这个&amp;quot;站起来&amp;quot;的过程，就是&lt;strong&gt;初始化&lt;/strong&gt;（Initialization）。&lt;/p&gt;</description></item><item><title>第3章 Create-Vite 怎么用</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-03-How-To-Use-Create-Vite/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-03-How-To-Use-Create-Vite/</guid><description>&lt;h1 id="第三章create-vite-怎么用"&gt;第三章：Create-Vite 怎么用&lt;/h1&gt;
&lt;h2 id="31-环境准备nodejs--npm--pnpm--yarn"&gt;3.1 环境准备（Node.js / npm / pnpm / yarn）&lt;/h2&gt;
&lt;h3 id="311-在开始之前先问自己一个问题什么是-nodejs"&gt;3.1.1 在开始之前，先问自己一个问题：什么是 Node.js？&lt;/h3&gt;
&lt;p&gt;好，如果你已经知道 Node.js 是什么，可以直接跳到 3.1.2。&lt;/p&gt;</description></item><item><title>第4章 Create-Vite 用在哪</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-04-Where-To-Use-Create-Vite/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-04-Where-To-Use-Create-Vite/</guid><description>&lt;h1 id="第四章create-vite-用在哪适用场景"&gt;第四章：Create-Vite 用在哪（适用场景）&lt;/h1&gt;
&lt;h2 id="41-新项目初始化"&gt;4.1 新项目初始化&lt;/h2&gt;
&lt;h3 id="411-什么时候该用-create-vite-初始化新项目"&gt;4.1.1 什么时候该用 Create-Vite 初始化新项目？&lt;/h3&gt;
&lt;p&gt;这是 Create-Vite 最核心的使用场景——&lt;strong&gt;当你决定开始一个新项目时，第一件事就是用它来搭架子&lt;/strong&gt;。&lt;/p&gt;</description></item><item><title>第5章 Create-Vite 注意事项</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-05-Precautions-When-Using-Create-Vite/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-05-Precautions-When-Using-Create-Vite/</guid><description>&lt;h1 id="第五章使用-create-vite-的注意事项"&gt;第五章：使用 Create-Vite 的注意事项&lt;/h1&gt;
&lt;h2 id="51-nodejs-版本要求"&gt;5.1 Node.js 版本要求&lt;/h2&gt;
&lt;h3 id="511-create-vite-对-nodejs-版本的最低消费"&gt;5.1.1 Create-Vite 对 Node.js 版本的&amp;quot;最低消费&amp;quot;&lt;/h3&gt;
&lt;p&gt;Create-Vite 不是所有 Node.js 版本都能用，它有一个&lt;strong&gt;最低版本要求&lt;/strong&gt;。&lt;/p&gt;
&lt;p&gt;截至目前，Create-Vite 5.x 要求 &lt;strong&gt;Node.js &amp;gt;= 18.12.0&lt;/strong&gt;。&lt;/p&gt;</description></item><item><title>第6章 Create-Vite 相关配置</title><link>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-06-Related-Configuration/</link><pubDate>Fri, 27 Mar 2026 21:01:00 +0800</pubDate><guid>https://before80.github.io/prgms/Js/tools/scaffold/create-vite/Chapter-06-Related-Configuration/</guid><description>&lt;h1 id="第六章相关配置"&gt;第六章：相关配置&lt;/h1&gt;
&lt;h2 id="61-viteconfigjsts-配置文件"&gt;6.1 vite.config.js/ts 配置文件&lt;/h2&gt;
&lt;h3 id="611-配置文件是什么放在哪"&gt;6.1.1 配置文件是什么？放在哪？&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;vite.config.js&lt;/code&gt;（或 &lt;code&gt;vite.config.ts&lt;/code&gt;）是 &lt;strong&gt;Vite 的&amp;quot;总控室&amp;quot;&lt;/strong&gt;——所有的构建行为、开发服务器设置、插件配置，都集中在这个文件里。&lt;/p&gt;</description></item></channel></rss>