Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 43 additions & 46 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,64 +1,61 @@

export default {
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
ssr: false,
/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: 'static',
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: "static",
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
*/
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
*/
head: {
title: process.env.npm_package_name || '',
title: process.env.npm_package_name || "",
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: process.env.npm_package_description || '' }
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
hid: "description",
name: "description",
content: process.env.npm_package_description || ""
}
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]
},
/*
** Global CSS
*/
css: [
],
** Global CSS
*/
css: [],
/*
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: [
],
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: [],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
buildModules: [
],
** Nuxt.js dev-modules
*/
buildModules: [],
/*
** Nuxt.js modules
*/
modules: [
],
** Nuxt.js modules
*/
modules: [],
/*
** Build configuration
** See https://nuxtjs.org/api/configuration-build/
*/
** Build configuration
** See https://nuxtjs.org/api/configuration-build/
*/
build: {
extend (config, ctx) {
config.resolve = config.resolve || {}
config.resolve.symlinks = false
extend(config, ctx) {
config.resolve = config.resolve || {};
config.resolve.symlinks = false;
}
}
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"serve": "nuxt serve"
},
"dependencies": {
"nuxt": "^2.13.0",
"serve": "^11.3.2"
"nuxt": "^2.15.8",
"serve": "^14.0.1"
},
"devDependencies": {}
}
Loading