You've already forked AstralRinth
forked from didirus/AstralRinth
prepare for knossos merge
This commit is contained in:
33
apps/knossos-template/nuxt.config.ts
Normal file
33
apps/knossos-template/nuxt.config.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
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',
|
||||
});
|
||||
Reference in New Issue
Block a user