You've already forked AstralRinth
forked from didirus/AstralRinth
33 lines
735 B
TypeScript
33 lines
735 B
TypeScript
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
|
|
import { defineNuxtConfig } from 'nuxt/config';
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
workspaceDir: '../../',
|
|
srcDir: 'src',
|
|
devtools: { enabled: true },
|
|
|
|
devServer: {
|
|
host: 'localhost',
|
|
port: 4200,
|
|
},
|
|
|
|
typescript: {
|
|
typeCheck: true,
|
|
tsConfig: {
|
|
extends: '../tsconfig.app.json', // Nuxt copies this string as-is to the `./.nuxt/tsconfig.json`, therefore it needs to be relative to that directory
|
|
},
|
|
},
|
|
|
|
imports: {
|
|
autoImport: true,
|
|
},
|
|
|
|
css: ['~/assets/css/styles.scss'],
|
|
|
|
vite: {
|
|
plugins: [nxViteTsPaths()],
|
|
},
|
|
|
|
compatibilityDate: '2024-07-03',
|
|
}); |