forked from spat/spat-admin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspat.config.js
50 lines (47 loc) · 1.16 KB
/
spat.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
40
41
42
43
44
45
46
47
48
49
50
var extendDeep = require('extend-deep');
var config = {
server: {
// cache: true,
// ssr: false,
},
client: {
// spa: false,
head: {
title: 'spat template',
description: 'frontend framework',
favicon: '/favicon.ico',
ogp: {
site_name: 'spat',
type: 'website',
image: 'https://chat-rabee-jp.appspot.com/static/images/ogp.png'
}
},
firebase: {
apiKey: "AIzaSyCiJjzLD4C5ueJ2wP3UVmdTa7BfiqnWu5Q",
authDomain: "chat-rabee-jp.firebaseapp.com",
databaseURL: "https://chat-rabee-jp.firebaseio.com",
projectId: "chat-rabee-jp",
storageBucket: "chat-rabee-jp.appspot.com",
messagingSenderId: "50741122756"
},
},
plugins: [
{ global: '$', src: 'jquery' },
{ global: 'dayjs', src: 'dayjs' },
{ global: 'admin', src: '~/../node_modules/spat-admin/index.js' },
{ global: 'firebase', src: '~/plugins/firebase.js' },
{ global: 'app', src: '~/scripts/app.js' },
{ src: '~/styles/main.less' },
],
basic: {
name: 'admin',
pass: 'password',
enabled: false,
},
test: {
pages: [
'/',
],
}
};
module.exports = config;