vue-h5-template/assets/guide_vue3_vite.md.7a4b4162.js

2 lines
1.6 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,o as i,c as t,R as l}from"./chunks/framework.6241eaf2.js";const g=JSON.parse('{"title":"vite","description":"","frontmatter":{},"headers":[],"relativePath":"guide/vue3/vite.md","filePath":"guide/vue3/vite.md","lastUpdated":1731315864000}'),a={name:"guide/vue3/vite.md"},n=l('<h1 id="vite" tabindex="-1">vite <a class="header-anchor" href="#vite" aria-label="Permalink to &quot;vite&quot;"></a></h1><p>基于原生 ES 模块提供了丰富的内建功能如速度快到惊人的模块热更新HMR使用 Rollup 打包你的代码,并且它是预配置的,可输出用于生产环境的高度优化过的静态资源。更多关于<a href="https://cn.vitejs.dev/guide/" target="_blank" rel="noreferrer">vite</a></p><p>模版集成了如下的 vite 插件</p><ul><li>unplugin-auto-import按需加载自动引入</li><li>unplugin-vue-components按需加载自动引入组件</li><li>vite-plugin-compression开启.gz 压缩)</li><li>vite-plugin-eruda控制台方便移动端调试</li><li>vite-plugin-imagemin图片压缩</li><li>vite-plugin-mock引入 mockjs本地模拟接口</li><li>vite-plugin-pages动态生成路由</li><li>vite-plugin-progress构建显示进度条</li><li>vite-plugin-restart监听配置文件修改自动重启 Vite</li><li>vite-plugin-style-import按需引入样式文件</li><li>vite-plugin-svg-icons加载 SVG 文件,自动引入)</li></ul>',4),o=[n];function r(s,p,u,v,_,c){return i(),t("div",null,o)}const m=e(a,[["render",r]]);export{g as __pageData,m as default};