57 lines
1.1 KiB
TypeScript
57 lines
1.1 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||
export default defineNuxtConfig({
|
||
app: {
|
||
head: {
|
||
titleTemplate: '%s – Enderman',
|
||
htmlAttrs: {
|
||
lang: 'en',
|
||
},
|
||
link: [
|
||
{
|
||
rel: 'icon',
|
||
type: 'image/x-icon',
|
||
href: '/favicon.ico',
|
||
},
|
||
],
|
||
meta: [
|
||
{
|
||
charset: 'utf-8',
|
||
},
|
||
{
|
||
name: 'viewport',
|
||
content: 'width=device-width, initial-scale=1',
|
||
},
|
||
{
|
||
'http-equiv': 'X-UA-Compatible',
|
||
content: 'ie=edge',
|
||
},
|
||
],
|
||
},
|
||
pageTransition: { name: 'page', mode: 'out-in' },
|
||
rootId: 'ender-app',
|
||
},
|
||
components: {
|
||
dirs: [
|
||
{
|
||
path: '~/components',
|
||
pathPrefix: false,
|
||
extensions: ['.vue'],
|
||
},
|
||
],
|
||
},
|
||
css: [
|
||
'~/assets/styles/main.css',
|
||
'@fortawesome/fontawesome-svg-core/styles.css',
|
||
],
|
||
plugins: [],
|
||
modules: [
|
||
'nuxt-font-loader',
|
||
'@nuxt/content',
|
||
'@nuxtjs/eslint-module',
|
||
'@pinia/nuxt',
|
||
],
|
||
typescript: {
|
||
typeCheck: true,
|
||
},
|
||
})
|