This repository has been archived by the owner on May 28, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathnuxt.config.js
65 lines (53 loc) · 2.05 KB
/
nuxt.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
* houston/nuxt.config.js
* Configuration for nuxt. Duh. Has to be regular node commonjs modules
*/
const path = require('path')
module.exports = {
srcDir: path.resolve(__dirname, './src/client'),
/**
* All of the default head properties to insert.
*
* @see https://github.com/declandewet/vue-meta#recognized-metainfo-properties
*/
head: {
titleTemplate: (title) => {
if (title) {
return `${title} - Developer ⋅ elementary`
} else {
return 'Developer ⋅ elementary'
}
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0' },
{ name: 'description', content: 'Resources for designing, developing, and publishing apps for elementary OS' },
{ name: 'author', content: 'elementary LLC' },
{ name: 'theme-color', content: '#403757' },
{ name: 'name', content: 'Developer ⋅ elementary' },
{ name: 'description', content: 'Resources for designing, developing, and publishing apps for elementary OS' },
{ name: 'image', content: 'https://elementary.io/images/developer/preview.png' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@elementary' },
{ name: 'twitter:creator', content: '@elementary' },
{ name: 'og:title', content: 'Developer ⋅ elementary' },
{ name: 'og:description', content: 'Resources for designing, developing, and publishing apps for elementary OS' },
{ name: 'og:image', content: 'https://elementary.io/images/developer/preview.png' },
{ name: 'apple-mobile-web-app-title', content: 'Dashboard' }
// { name: 'apple-touch-icon', content: '/images/apple-touch-icon.png' }
],
link: [
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Open+Sans:300,400' }
]
},
/**
* Cool style for the nuxt progress bar
*
* @var {Object}
*/
loading: {
color: '#3892e0',
failedColor: '#da4d45'
},
ErrorPage: '~/pages/error'
}