Skip to content

Commit f226a64

Browse files
marrDavid Marrineshbose
authoredMar 10, 2025··
fix(content): use pages:extend to get page routes
* Fix config not working in nuxt 3.16 * chore: use hook to watch pages --------- Co-authored-by: David Marr <david.marr@contextlabs.com> Co-authored-by: Inesh Bose <dev@inesh.xyz>
1 parent 159ab53 commit f226a64

File tree

4 files changed

+3638
-5672
lines changed

4 files changed

+3638
-5672
lines changed
 

‎package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -62,37 +62,37 @@
6262
"test:types": "pnpm dev:prepare && tsc --noEmit && nuxi typecheck playground"
6363
},
6464
"dependencies": {
65-
"@nuxt/kit": "^3.15.1",
6665
"autoprefixer": "^10.4.20",
67-
"c12": "^2.0.1",
68-
"consola": "^3.3.3",
66+
"c12": "^2.0.4",
67+
"consola": "^3.4.0",
6968
"defu": "^6.1.4",
70-
"h3": "^1.13.1",
69+
"h3": "^1.15.1",
7170
"klona": "^2.0.6",
72-
"pathe": "^2.0.1",
73-
"postcss": "^8.4.49",
71+
"pathe": "^2.0.3",
72+
"postcss": "^8.5.3",
7473
"postcss-nesting": "^13.0.1",
7574
"tailwind-config-viewer": "^2.0.4",
7675
"tailwindcss": "~3.4.17",
7776
"ufo": "^1.5.4",
7877
"unctx": "^2.4.1"
7978
},
8079
"devDependencies": {
81-
"@fontsource/inter": "^5.1.1",
80+
"@fontsource/inter": "^5.2.5",
8281
"@nuxt/content": "^2.13.4",
83-
"@nuxt/devtools": "^1.7.0",
84-
"@nuxt/eslint-config": "^0.7.5",
82+
"@nuxt/devtools": "^2.2.1",
83+
"@nuxt/eslint-config": "^0.7.6",
84+
"@nuxt/kit": "^3.16.0",
8585
"@nuxt/module-builder": "^0.8.4",
86-
"@nuxt/test-utils": "^3.14.4",
86+
"@nuxt/test-utils": "^3.17.1",
8787
"@tailwindcss/typography": "^0.5.16",
8888
"changelogen": "^0.5.7",
8989
"destr": "^2.0.3",
90-
"eslint": "^9.18.0",
91-
"happy-dom": "^16.5.3",
92-
"nuxt": "^3.15.1",
90+
"eslint": "^9.21.0",
91+
"happy-dom": "^16.8.1",
92+
"nuxt": "^3.16.0",
9393
"typescript": "5.6.3",
94-
"vitest": "^2.1.5",
95-
"vue-tsc": "^2.2.0"
94+
"vitest": "^3.0.8",
95+
"vue-tsc": "^2.2.8"
9696
},
9797
"packageManager": "pnpm@9.15.3",
9898
"resolutions": {

‎playground/nuxt.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ export default defineNuxtConfig({
6464
},
6565
'tailwindcss:resolvedConfig': (config, oldConfig) => {
6666
// @ts-expect-error TODO: types for theme are not correct
67-
logger.info('Running `tailwindcss:resolvedConfig` hook...', { typography: Boolean(config.theme.typography), hasOld: Boolean(oldConfig) })
67+
logger.info('Running `tailwindcss:resolvedConfig` hook...', {
68+
typography: Boolean(config.theme.typography),
69+
hasOld: Boolean(oldConfig)
70+
})
6871
},
6972
} satisfies Partial<ModuleHooks>,
7073

0 commit comments

Comments
 (0)
Please sign in to comment.