Commit 50543bf1ea9db00dfdc214224c6efac20f41d059
1 parent
6c9d44b1
add favicon for editor page
Showing
3 changed files
with
19 additions
and
0 deletions
front-end/h5/public/img/favicon.ico
0 → 100644
No preview for this file type
front-end/h5/src/assets/favicon.ico
0 → 100644
No preview for this file type
front-end/h5/vue.config.js
| 1 | +/* | |
| 2 | + * @Author: ly525 | |
| 3 | + * @Date: 2019-12-14 22:43:55 | |
| 4 | + * @LastEditors: ly525 | |
| 5 | + * @LastEditTime: 2020-01-05 22:09:02 | |
| 6 | + * @FilePath: /luban-h5/front-end/h5/vue.config.js | |
| 7 | + * @Github: https://github.com/ly525/luban-h5 | |
| 8 | + * @Description: Do not edit | |
| 9 | + * @Copyright 2018 - 2019 luban-h5. All Rights Reserved | |
| 10 | + */ | |
| 1 | 11 | const path = require('path') |
| 2 | 12 | // const isProd = process.env.NODE_ENV === 'production' |
| 3 | 13 | const target = 'http://localhost:1337' |
| ... | ... | @@ -57,5 +67,14 @@ module.exports = { |
| 57 | 67 | } |
| 58 | 68 | }, |
| 59 | 69 | extract: false |
| 70 | + }, | |
| 71 | + pwa: { | |
| 72 | + iconPaths: { | |
| 73 | + favicon32: 'img/icons/favicon.ico', | |
| 74 | + favicon16: 'img/icons/favicon.ico', | |
| 75 | + appleTouchIcon: 'img/icons/favicon.ico', | |
| 76 | + maskIcon: 'img/icons/favicon.ico', | |
| 77 | + msTileImage: 'img/icons/favicon.ico' | |
| 78 | + } | |
| 60 | 79 | } |
| 61 | 80 | } | ... | ... |