81 lines
1.5 KiB
Plaintext
81 lines
1.5 KiB
Plaintext
webpack 项目打包工具
|
||
|
||
build: 项目的启动和打包的核心文件
|
||
config:项目的很多配置信息的存放
|
||
|
||
dist
|
||
app.js 是所有源码的集合
|
||
vendor.js 是所有插件的源码集合
|
||
|
||
src 项目存放源码的地方
|
||
| assets 存放静态资源 css,js,字体,视频
|
||
| components 公共组件的地方
|
||
| router 路由配置文件
|
||
| App.vue 根页面
|
||
| main.js 入口文件
|
||
|
||
static 存放静态资源 css,js,字体,视频
|
||
.babelrc babel 将高版本的js转化为低版本的代码
|
||
.editorconfig 编辑器格式配置文件
|
||
.eslintignore eslint 忽略文件
|
||
.eslintrc.js eslint配置文件
|
||
.gitignore git忽略文件
|
||
.postcssrc.js 帮你css3属性自动加前缀
|
||
index.html 网站唯一的一个静态html页面
|
||
|
||
|
||
ssr 服务端渲染
|
||
|
||
|
||
http 实现对ajax(axios)的封装,实现ge,post
|
||
|
||
serve 中间层,页面调用 serve,serve访问config和http
|
||
发送请求,拿到数据给页面
|
||
|
||
config 主要做接口的地址配置
|
||
|
||
vue jq
|
||
|
||
vue 插件
|
||
|
||
属于vue的插件
|
||
|
||
不是vue插件的插件
|
||
axios
|
||
|
||
|
||
|
||
hls 视频切片技术
|
||
|
||
100MB jieshao.mp4
|
||
|
||
10段
|
||
|
||
0.ts
|
||
1.ts
|
||
2.ts
|
||
...
|
||
9.ts
|
||
|
||
m3u8
|
||
|
||
10MB
|
||
|
||
1: 新闻资讯
|
||
网址:https://zbhh5.ahtv.cn/newInfo?id=547
|
||
PSD: 1 ,2
|
||
接口:/newsDetail
|
||
参数:id=547
|
||
|
||
2: 视频页面
|
||
网址:https://zbhh5.ahtv.cn/dibbling?id=151
|
||
PSD: 3 ,4
|
||
接口:/videoDetail
|
||
参数:id=151
|
||
|
||
3: 帖子分享
|
||
网址:https://zbhh5.ahtv.cn/postInfo?id=218
|
||
PSD: 7
|
||
接口:/interactDetail
|
||
参数:id=218
|