1.3.18 • Published 9 months ago

@hippocrates-holding/nuxt-redirects v1.3.18

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@hippocrates-holding/nuxt-redirects

npm version npm downloads License Nuxt

A Nuxt module that allows for redirect management using a simple CSV file, it leverages zod-csv under the hood for validation, handling both punctual and regex redirects. An example CSV file can be found here.

Quick Setup

  1. Add the @hippocrates-holding/nuxt-redirects dependency to your project.
# Using pnpm
pnpm add -D @hippocrates-holding/nuxt-redirects

# Using yarn
yarn add --dev @hippocrates-holding/nuxt-redirects

# Using npm
npm install --save-dev @hippocrates-holding/nuxt-redirects
  1. Add @hippocrates-holding/nuxt-redirects to the modules section of your nuxt.config.ts file.
export default defineNuxtConfig({
  modules: ["@hippocrates-holding/nuxt-redirects"],
});

That's it! You can now start using it in your Nuxt app. ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

License

Licensed under the MIT License.

1.3.7

11 months ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.10

10 months ago

1.3.9

11 months ago

1.3.8

11 months ago

1.3.13

9 months ago

1.3.14

9 months ago

1.3.11

10 months ago

1.3.12

10 months ago

1.3.17

9 months ago

1.3.18

9 months ago

1.3.15

9 months ago

1.3.16

9 months ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago