Skip to content

Commit 9d2e3bb

Browse files
committed
refactor: nuxt switch from rootDir to srcDir
1 parent 51355e1 commit 9d2e3bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+15
-7
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,5 @@ GOOGLE_CLIENT_SECRET=
8080
GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/login/google/callback
8181

8282
TELESCOPE_ENABLED=false
83+
84+
NUXT_TELEMETRY_DISABLED=0

nuxt.config.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3-
compatibilityDate: '2025-03-13',
4-
rootDir: 'nuxt/',
3+
compatibilityDate: '2025-07-19',
4+
srcDir: 'nuxt/',
55

6-
future: {
7-
compatibilityVersion: 4,
6+
dir: {
7+
public: 'public/nuxt',
8+
},
9+
10+
vite: {
11+
server: {
12+
allowedHosts: ["localhost", "127.0.0.1"],
13+
},
814
},
915

1016
/**
File renamed without changes.
File renamed without changes.

nuxt/app/assets/css/main.css renamed to nuxt/assets/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@import "@nuxt/ui";
33

44
:root {
5-
--ui-radius: var(--radius-sm);
5+
--ui-radius: 0.25rem;
66
}
77

88
@layer base {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)