1
1
// Configuration for your app
2
2
// https://quasar.dev/quasar-cli/quasar-conf-js
3
3
4
- module . exports = function ( ctx ) {
5
- const env = require ( ' quasar-dotenv' ) . config ( )
4
+ module . exports = function ( ctx ) {
5
+ const env = require ( " quasar-dotenv" ) . config ( ) ;
6
6
return {
7
7
// app boot file (/src/boot)
8
8
// --> boot files are part of "main.js"
9
- boot : [
10
- ] ,
9
+ boot : [ ] ,
11
10
12
- css : [
13
- 'app.styl'
14
- ] ,
11
+ css : [ "app.styl" ] ,
15
12
16
13
extras : [
17
14
// 'ionicons-v4',
@@ -21,8 +18,8 @@ module.exports = function (ctx) {
21
18
// 'themify',
22
19
// 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both!
23
20
24
- ' roboto-font' , // optional, you are not bound to it
25
- ' material-icons' // optional, you are not bound to it
21
+ " roboto-font" , // optional, you are not bound to it
22
+ " material-icons" // optional, you are not bound to it
26
23
] ,
27
24
28
25
framework : {
@@ -32,49 +29,44 @@ module.exports = function (ctx) {
32
29
// all: true, // --- includes everything; for dev only!
33
30
34
31
components : [
35
- ' QLayout' ,
36
- ' QHeader' ,
37
- ' QDrawer' ,
38
- ' QPageContainer' ,
39
- ' QPage' ,
40
- ' QToolbar' ,
41
- ' QToolbarTitle' ,
42
- ' QBtn' ,
43
- ' QIcon' ,
44
- ' QList' ,
45
- ' QItem' ,
46
- ' QItemSection' ,
47
- ' QItemLabel' ,
48
- ' QExpansionItem' ,
49
- ' QInput' ,
50
- ' QBar' ,
51
- ' QFooter' ,
52
- ' QAvatar' ,
53
- ' QTabs' ,
54
- ' QTab' ,
55
- ' QRouteTab' ,
56
- ' QTabPanels' ,
57
- ' QDialog' ,
58
- ' QSelect' ,
59
- ' QTabPanel' ,
60
- ' QFab' ,
61
- ' QFabAction' ,
62
- ' QMenu' ,
63
- ' QUploader' ,
64
- ' QEditor' ,
65
- ' QCard' ,
66
- ' QChip'
32
+ " QLayout" ,
33
+ " QHeader" ,
34
+ " QDrawer" ,
35
+ " QPageContainer" ,
36
+ " QPage" ,
37
+ " QToolbar" ,
38
+ " QToolbarTitle" ,
39
+ " QBtn" ,
40
+ " QIcon" ,
41
+ " QList" ,
42
+ " QItem" ,
43
+ " QItemSection" ,
44
+ " QItemLabel" ,
45
+ " QExpansionItem" ,
46
+ " QInput" ,
47
+ " QBar" ,
48
+ " QFooter" ,
49
+ " QAvatar" ,
50
+ " QTabs" ,
51
+ " QTab" ,
52
+ " QRouteTab" ,
53
+ " QTabPanels" ,
54
+ " QDialog" ,
55
+ " QSelect" ,
56
+ " QTabPanel" ,
57
+ " QFab" ,
58
+ " QFabAction" ,
59
+ " QMenu" ,
60
+ " QUploader" ,
61
+ " QEditor" ,
62
+ " QCard" ,
63
+ " QChip"
67
64
] ,
68
65
69
- directives : [
70
- 'Ripple' ,
71
- 'ClosePopup'
72
- ] ,
66
+ directives : [ "Ripple" , "ClosePopup" ] ,
73
67
74
68
// Quasar plugins
75
- plugins : [
76
- 'Notify'
77
- ]
69
+ plugins : [ "Notify" ]
78
70
} ,
79
71
80
72
supportIE : false ,
@@ -86,7 +78,7 @@ module.exports = function (ctx) {
86
78
// gzip: true,
87
79
// analyze: true,
88
80
// extractCSS: false,
89
- extendWebpack ( cfg ) {
81
+ extendWebpack ( cfg ) {
90
82
// cfg.module.rules.push({
91
83
// enforce: 'pre',
92
84
// test: /\.(js|vue)$/,
@@ -97,13 +89,16 @@ module.exports = function (ctx) {
97
89
// }
98
90
// })
99
91
} ,
100
- env : env ,
92
+ env : env
101
93
} ,
102
94
103
95
devServer : {
104
- // https: true,
96
+ https : true ,
105
97
// port: 8080,
98
+ // public: 'overvuedev',
99
+ // host: 'overvuedev',
106
100
open : true // opens browser window automatically
101
+
107
102
} ,
108
103
109
104
// animations: 'all', // --- includes all animations
@@ -120,35 +115,35 @@ module.exports = function (ctx) {
120
115
// name: 'Quasar App',
121
116
// short_name: 'Quasar App',
122
117
// description: 'A Quasar Framework app',
123
- display : ' standalone' ,
124
- orientation : ' portrait' ,
125
- background_color : ' #ffffff' ,
126
- theme_color : ' #027be3' ,
118
+ display : " standalone" ,
119
+ orientation : " portrait" ,
120
+ background_color : " #ffffff" ,
121
+ theme_color : " #027be3" ,
127
122
icons : [
128
123
{
129
- ' src' : ' statics/icons/icon-128x128.png' ,
130
- ' sizes' : ' 128x128' ,
131
- ' type' : ' image/png'
124
+ src : " statics/icons/icon-128x128.png" ,
125
+ sizes : " 128x128" ,
126
+ type : " image/png"
132
127
} ,
133
128
{
134
- ' src' : ' statics/icons/icon-192x192.png' ,
135
- ' sizes' : ' 192x192' ,
136
- ' type' : ' image/png'
129
+ src : " statics/icons/icon-192x192.png" ,
130
+ sizes : " 192x192" ,
131
+ type : " image/png"
137
132
} ,
138
133
{
139
- ' src' : ' statics/icons/icon-256x256.png' ,
140
- ' sizes' : ' 256x256' ,
141
- ' type' : ' image/png'
134
+ src : " statics/icons/icon-256x256.png" ,
135
+ sizes : " 256x256" ,
136
+ type : " image/png"
142
137
} ,
143
138
{
144
- ' src' : ' statics/icons/icon-384x384.png' ,
145
- ' sizes' : ' 384x384' ,
146
- ' type' : ' image/png'
139
+ src : " statics/icons/icon-384x384.png" ,
140
+ sizes : " 384x384" ,
141
+ type : " image/png"
147
142
} ,
148
143
{
149
- ' src' : ' statics/icons/icon-512x512.png' ,
150
- ' sizes' : ' 512x512' ,
151
- ' type' : ' image/png'
144
+ src : " statics/icons/icon-512x512.png" ,
145
+ sizes : " 512x512" ,
146
+ type : " image/png"
152
147
}
153
148
]
154
149
}
@@ -160,10 +155,10 @@ module.exports = function (ctx) {
160
155
} ,
161
156
162
157
electron : {
163
- bundler : ' packager' ,
158
+ bundler : " packager" ,
164
159
// bundler: 'builder', // or 'packager'
165
160
166
- extendWebpack ( cfg ) {
161
+ extendWebpack ( cfg ) {
167
162
// do something with Electron main process Webpack cfg
168
163
// chainWebpack also available besides this extendWebpack
169
164
} ,
@@ -172,10 +167,10 @@ module.exports = function (ctx) {
172
167
// https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#options
173
168
174
169
// OS X / Mac App Store
175
- appBundleId : ' overvue' ,
170
+ appBundleId : " overvue" ,
176
171
// appCategoryType: '',
177
172
// osxSign: '',
178
- protocol : ' overvue'
173
+ protocol : " overvue"
179
174
180
175
// Windows only
181
176
// win32metadata: { ... }
@@ -184,17 +179,17 @@ module.exports = function (ctx) {
184
179
builder : {
185
180
// https://www.electron.build/configuration/configuration
186
181
187
- appId : ' com.electron.OverVue' ,
182
+ appId : " com.electron.OverVue" ,
188
183
win : {
189
- target : ' nsis'
184
+ target : " nsis"
190
185
} ,
191
186
protocols : [
192
187
{
193
- name : ' overvue' ,
194
- schemes : [ ' overvue' ]
188
+ name : " overvue" ,
189
+ schemes : [ " overvue" ]
195
190
}
196
191
]
197
192
}
198
193
}
199
- }
200
- }
194
+ } ;
195
+ } ;
0 commit comments