当前位置:网站首页>脚手架内容详解分析
脚手架内容详解分析
2022-08-04 02:06:00 【sl105105】
在安装后脚手架后,我们可以来查看他包含的都是什么内容.
针对他的文件我们进行一一分析,帮助你更好的了解


npm run serve 启动项目

npm run build 打包项目

打包后他生成了dist文件夹,里面包含内容如图:

Public文件夹的详解
我们打包的内容是怎么体现的那,就在我们Public文件夹中的index.html中,具体呈现如下
src文件夹详解
gitignore是用来告诉脚手架有哪些文件不需要被上传到git仓库中,
比如node_modules和/dist文件
babel.config.js是可以将es6转成es5语法,解决兼容问题
边栏推荐
- GNSS[0]- Topic
- 一篇文章看懂JS闭包,从执行上下文角度解析有趣的闭包
- Deng Qinglin, Alibaba Cloud Technical Expert: Best Practices for Disaster Recovery across Availability Zones and Multiple Lives in Different Locations on the Cloud
- html select tag assignment database query result
- 2022焊工(初级)上岗证题目模拟考试平台操作
- Flask框架初学-05-命令管理Manager及数据库的使用
- nodejs installation and environment configuration
- Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
- FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
- Use nodejs switch version (no need to uninstall and reinstall)
猜你喜欢
随机推荐
Is there any jdbc link to Youxuan database documentation and examples?
第13章 网络安全漏洞防护技术原理与应用
持续投入商品研发,叮咚买菜赢在了供应链投入上
实例039:有序列表插入元素
ssh服务详解
Simple sorting (summer vacation daily question 14)
工程制图平面投影练习
2022.8.3-----leetcode.899
工程制图复习题
DDTL:远距离的域迁移学习
boot issue
[store mall project 01] environment preparation and testing
Thinkphp commonly used techniques
内网穿透-应用
Qt中对象树的机制介绍以及底层实现,各种结果分析:(以及自己写容易犯错的点)
P3384 【模板】轻重链剖分/树链剖分
yum 仅下载包
Deng Qinglin, Alibaba Cloud Technical Expert: Best Practices for Disaster Recovery across Availability Zones and Multiple Lives in Different Locations on the Cloud
DDTL: Domain Transfer Learning at a Distance
Slipper - virtual point, shortest path









