generated from patriciacoelho/pwa-with-vuetify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
39 lines (38 loc) · 988 Bytes
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
const CopyPlugin = require('copy-webpack-plugin');
module.exports = {
// publicPath: '/trek-oz_series/',
transpileDependencies: [
'vuetify',
],
// Config PWA's manifest.json and Service Worker
pwa: {
name: 'Trek-oz Series',
themeColor: '#0B7346',
msTileColor: '#2ECC71',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black-translucent',
workboxPluginMode: 'InjectManifest',
workboxOptions: {
swSrc: './src/service-worker.js',
},
manifestOptions: {
short_name: 'Trek-oz Series',
description: 'Boilerplate de um PWA com o Vuetify',
orientation: 'portrait',
display: 'standalone',
scope: '/',
background_color: '#F1F5FB',
},
},
// Config to copy .well-known with the TWA fingerprint in compile process
configureWebpack: {
plugins: [
new CopyPlugin([
{
from: '.well-known',
to: '.well-known/',
},
]),
],
},
};