index/nuxt.config.ts

67 lines
1.3 KiB
TypeScript
Raw Normal View History

2023-11-19 16:12:13 +02:00
import packageJSON from './package.json'
2023-11-06 19:32:15 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
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',
2023-11-18 19:28:27 +02:00
'nuxt-quasar-ui',
2023-11-13 22:37:35 +02:00
],
2023-11-18 19:28:27 +02:00
quasar: {
lang: 'en-US',
},
typescript: {
typeCheck: true,
},
2023-11-19 16:12:13 +02:00
vite: {
define: {
'import.meta.env.PACKAGE_VERSION': JSON.stringify(packageJSON.version),
},
},
2023-11-06 19:32:15 +02:00
})