mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +00:00
42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
export default {
|
|
/*
|
|
** Single Page Application mode
|
|
** Means no SSR
|
|
*/
|
|
mode: 'spa',
|
|
/*
|
|
** Headers of the page (works with SPA!)
|
|
*/
|
|
head: {
|
|
title: 'SPA mode with Nuxt.js',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: 'Single Page Application made with Nuxt.js' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
|
]
|
|
},
|
|
/*
|
|
** Add css for appear transition
|
|
*/
|
|
css: ['~/assets/main.css'],
|
|
/*
|
|
** Customize loading indicator
|
|
*/
|
|
loadingIndicator: {
|
|
/*
|
|
** See https://nuxtjs.org/api/configuration-loading-indicator for available loading indicators
|
|
** You can add a custom indicator by giving a path
|
|
*/
|
|
// name: 'folding-cube',
|
|
/*
|
|
** You can give custom options given to the template
|
|
** See https://github.com/nuxt/nuxt.js/blob/dev/lib/app/views/loading/folding-cube.html
|
|
*/
|
|
// color: '#DBE1EC'
|
|
// background: 'white'
|
|
}
|
|
}
|