├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmrc ├── .nuxtrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── playground ├── app.vue ├── nuxt.config.ts ├── package.json ├── pages │ ├── [generic].vue │ ├── index.vue │ └── some-other.vue ├── redirects.csv ├── server │ └── tsconfig.json └── tsconfig.json ├── pnpm-lock.yaml ├── src ├── module.ts └── runtime │ └── redirectsMiddleware.global ├── test ├── basic.test.ts └── fixtures │ └── basic │ ├── app.vue │ ├── nuxt.config.ts │ ├── package.json │ ├── pages │ ├── p-[slug].vue │ ├── p-page-with-query.vue │ └── some-other.vue │ └── redirects.csv └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | shamefully-hoist=true 2 | strict-peer-dependencies=false 3 | -------------------------------------------------------------------------------- /.nuxtrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/.nuxtrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/package.json -------------------------------------------------------------------------------- /playground/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/app.vue -------------------------------------------------------------------------------- /playground/nuxt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/nuxt.config.ts -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/pages/[generic].vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/pages/[generic].vue -------------------------------------------------------------------------------- /playground/pages/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/pages/index.vue -------------------------------------------------------------------------------- /playground/pages/some-other.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/pages/some-other.vue -------------------------------------------------------------------------------- /playground/redirects.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/playground/redirects.csv -------------------------------------------------------------------------------- /playground/server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../.nuxt/tsconfig.server.json" 3 | } 4 | -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./.nuxt/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/src/module.ts -------------------------------------------------------------------------------- /src/runtime/redirectsMiddleware.global: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/src/runtime/redirectsMiddleware.global -------------------------------------------------------------------------------- /test/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/basic.test.ts -------------------------------------------------------------------------------- /test/fixtures/basic/app.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/app.vue -------------------------------------------------------------------------------- /test/fixtures/basic/nuxt.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/nuxt.config.ts -------------------------------------------------------------------------------- /test/fixtures/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/package.json -------------------------------------------------------------------------------- /test/fixtures/basic/pages/p-[slug].vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/pages/p-[slug].vue -------------------------------------------------------------------------------- /test/fixtures/basic/pages/p-page-with-query.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/pages/p-page-with-query.vue -------------------------------------------------------------------------------- /test/fixtures/basic/pages/some-other.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/pages/some-other.vue -------------------------------------------------------------------------------- /test/fixtures/basic/redirects.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atoms-studio/nuxt-redirects/HEAD/test/fixtures/basic/redirects.csv -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./playground/.nuxt/tsconfig.json" 3 | } 4 | --------------------------------------------------------------------------------