index/nuxt.config.ts

57 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-11-06 19:32:15 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
2023-11-13 22:37:35 +02:00
titleTemplate: '%s Enderman',
htmlAttrs: {
lang: 'en',
},
2023-11-13 22:37:35 +02:00
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',
},
],
},
2023-11-13 22:37:35 +02:00
pageTransition: { name: 'page', mode: 'out-in' },
rootId: 'ender-app',
},
components: {
dirs: [
{
path: '~/components',
pathPrefix: false,
extensions: ['.vue'],
},
],
},
2023-11-13 22:37:35 +02:00
css: [
'~/assets/styles/main.css',
'@fortawesome/fontawesome-svg-core/styles.css',
],
plugins: [],
2023-11-13 22:37:35 +02:00
modules: [
'nuxt-font-loader',
'@nuxt/content',
'@nuxtjs/eslint-module',
'@pinia/nuxt',
],
typescript: {
typeCheck: true,
},
2023-11-06 19:32:15 +02:00
})