diff --git a/docs/package.json b/docs/package.json index f1447a4..cd24af5 100755 --- a/docs/package.json +++ b/docs/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@nuxt-themes/docus": "1.15.0", - "nuxt": "3.8.2" + "nuxt": "3.9.0" } } diff --git a/package.json b/package.json index f9a1ec2..5a00425 100644 --- a/package.json +++ b/package.json @@ -26,14 +26,7 @@ "docs:dev": "cd docs && pnpm run dev", "docs:build": "cd docs && nuxt generate", "typecheck": "tsc --noEmit", - "release": "bumpp && npm publish && git push --follow-tags", - "test:prepare-fixtures": "nuxi prepare test/fixtures/sample-project", - "test:types-fixtures": "nuxi typecheck test/fixtures/sample-project", - "test:fixtures": "vitest run --dir test", - "test:types": "pnpm run typecheck", - "test:vue": "vue-tsc -p test/fixtures/simple/tsconfig.json --noEmit && vue-tsc -p test/fixtures/complex/tsconfig.json --noEmit", - "test": "pnpm run test:prepare-fixtures && pnpm run test:types && pnpm run test:fixtures", - "test:debug": "NUXT_ROUTER_CONFIG_NAME=$CONFIG pnpm run test:types-fixtures" + "release": "pnpm run prepack && bumpp && npm publish && git push --follow-tags" }, "publishConfig": { "access": "public" @@ -65,7 +58,7 @@ "prettier": "^2.5.x || 3.x" }, "dependencies": { - "@nuxt/kit": "3.8.2", + "@nuxt/kit": "3.9.0", "chalk": "5.3.0", "defu": "6.1.3", "lodash-es": "4.17.21", @@ -73,7 +66,7 @@ "mkdirp": "3.0.1", "nanoid": "5.0.4", "pathe": "1.1.1", - "globby": "14.0.0" + "prettier": "3.1.1" }, "devDependencies": { "@intlify/core-base": "9.8.0", diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts index 98b43d2..8a0491e 100644 --- a/playground/nuxt.config.ts +++ b/playground/nuxt.config.ts @@ -16,6 +16,7 @@ export default defineNuxtConfig({ srcDir: './src', i18n: { defaultLocale: 'de', + strategy: 'prefix', // dynamicRouteParams: true, locales: [ { diff --git a/playground/src/pages/[lang]/post/[slug].vue b/playground/src/pages/[lang]/post/[slug].vue index e69de29..517134a 100644 --- a/playground/src/pages/[lang]/post/[slug].vue +++ b/playground/src/pages/[lang]/post/[slug].vue @@ -0,0 +1 @@ + diff --git a/playground/src/pages/index.vue b/playground/src/pages/index.vue index 98e521f..58ea183 100644 --- a/playground/src/pages/index.vue +++ b/playground/src/pages/index.vue @@ -1,13 +1,12 @@