readme
Showing
1 changed file
with
6 additions
and
29 deletions
... | @@ -6,45 +6,22 @@ | ... | @@ -6,45 +6,22 @@ |
6 | 6 | ||
7 | [demo](https://solui.cn/vue-h5-template/#/)建议手机端查看 | 7 | [demo](https://solui.cn/vue-h5-template/#/)建议手机端查看 |
8 | 8 | ||
9 | |||
10 | |||
11 | <span id="top">目录</span> | ||
12 | |||
13 | - [√ 配置多环境变量](#env) | ||
14 | - [√ rem 适配方案](#rem) | ||
9 | - Vue-cli4 | 15 | - Vue-cli4 |
10 | - VantUI 组件按需加载 | 16 | - VantUI 组件按需加载 |
11 | - Sass | 17 | - Sass |
12 | - Webpack 4 | 18 | - Webpack 4 |
13 | - Vuex | 19 | - Vuex |
14 | - Axios 封装 | 20 | - Axios 封装 |
15 | - rem 适配方案 | ||
16 | - 生产环境 cdn 优化首屏加速 | 21 | - 生产环境 cdn 优化首屏加速 |
17 | - babel 低版本浏览器兼容 | 22 | - babel 低版本浏览器兼容 |
18 | - Eslint+Pettier 统一开发规范 | 23 | - Eslint+Pettier 统一开发规范 |
19 | 24 | ||
20 | <span id="top">目录</span> | ||
21 | |||
22 | - [√ 配置多环境变量](#env) | ||
23 | - [√ rem 适配方案](#rem) | ||
24 | - [√ 配置基础 vue.config.js](#base) | ||
25 | - [√ 配置 proxy 跨域](#proxy) | ||
26 | - [√ 修复 HMR(热更新)失效](#hmr) | ||
27 | - [√ 修复 Lazy loading routes Error: Cyclic dependency](#lazyloading) | ||
28 | - [√ 添加别名 alias](#alias) | ||
29 | - [√ 压缩图片](#compressimage) | ||
30 | - [√ 自动生成雪碧图](#spritesmith) | ||
31 | - [√ SVG 转 font 字体](#font) | ||
32 | - [√ 使用 SVG 组件](#svg) | ||
33 | - [√ 去除多余无效的 css](#removecss) | ||
34 | - [√ 添加打包分析](#analyze) | ||
35 | - [√ 配置 externals 引入 cdn 资源](#externals) | ||
36 | - [√ 多页面打包 multi-page](#multiple-pages) | ||
37 | - [√ 删除 moment 语言包](#moment) | ||
38 | - [√ 去掉 console.log](#log) | ||
39 | - [√ 利用 splitChunks 单独打包第三方模块](#splitchunks) | ||
40 | - [√ 开启 gzip 压缩](#gzip) | ||
41 | - [√ 开启 stylelint 检测 scss, css 语法](#stylelint) | ||
42 | - [√ 为 sass 提供全局样式,以及全局变量](#globalscss) | ||
43 | - [√ 为 stylus 提供全局变量](#globalstylus) | ||
44 | - [√ 预渲染 prerender-spa-plugin](#prerender) | ||
45 | - [√ 添加 IE 兼容](#ie) | ||
46 | - [√ 静态资源自动打包上传阿里 oss、华为 obs](#alioss) | ||
47 | - [√ 完整依赖](#allconfig) | ||
48 | 25 | ||
49 | ### <span id="env">✅ 配置多环境变量 </span> | 26 | ### <span id="env">✅ 配置多环境变量 </span> |
50 | 27 | ... | ... |
-
Please register or sign in to post a comment