-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
49 lines (42 loc) · 1.03 KB
/
nuxt.config.ts
File metadata and controls
49 lines (42 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { defineNuxtConfig } from 'nuxt/config'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: [
'@nuxt/eslint',
'@nuxt/test-utils',
'@nuxt/ui',
'@nuxt/scripts'
],
// Enable auto-imports for components and composables
components: [
{
path: '~/components',
pathPrefix: false,
},
{
path: '~/features',
pathPrefix: false,
pattern: '**/*.vue'
}
],
// Configure path aliases and TypeScript
alias: {
'~': '.',
'@': '.',
},
typescript: {
typeCheck: false, // Disable during development for faster builds
},
runtimeConfig: {
// Server-side only (not exposed to client)
githubToken: process.env.GITHUB_TOKEN,
githubOwner: process.env.GITHUB_OWNER || 'Oracommit',
githubRepo: process.env.GITHUB_REPO || 'issues',
// Public config (exposed to client)
public: {
// Add any public config here if needed
}
}
})