简单Vue工程化
0 1

常见 Vue打包后最终生成的文件 有哪些?分别说明?

【概念释义】

Vite/Webpack 打包后 dist 常见文件:index.html 入口;assets/ 下带 hash 的 JS chunk(入口、路由异步 chunk、vendor)、CSS字体/图片favicon;可能 source map(生产常关)。manifest.json(PWA)或静态 robots.txt 视配置而定。

【基础使用】

text
dist/
  index.html
  assets/
    index-a1b2c3.js      # 入口
    vendor-d4e5f6.

登录查看完整 860

回答讨论

暂无讨论,登录后可抢先发言

本题库更多题目(50)