1
0
Fork 0
moritzruth.de/nuxt.config.js
2019-04-02 17:59:24 +02:00

79 lines
1.2 KiB
JavaScript

module.exports = {
mode: 'spa',
/*
** Headers of the page
*/
head: {
title: "ctexxx",
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: "ctexxx" }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
]
},
manifest: {
name: "ctexxx",
author: "Moritz Ruth",
mobileAppIOS: false,
nativeUI: true,
shortName: "ctexxx",
backgroundColor: "#212121",
themeColor: "#212121"
},
workbox: {
importScripts: [
"fontSW.js"
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#c34545' },
transition: "page",
layoutTransition: "page",
/*
** Global CSS
*/
css: [
'@/assets/css/global.scss'
],
/*
** Plugins to load before mounting the App
*/
plugins: [
],
/*
** Nuxt.js modules
*/
modules: [
"@nuxtjs/axios",
'@nuxtjs/pwa'
],
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
},
postcss: [
require("autoprefixer")({
browsers: ["last 5 versions"]
})
]
}
};