@atoms-studio/nuxt-redirects
Massive redirect rules module handler
1,082
| Install | |
|---|---|
npm install @atoms-studio/nuxt-redirects |
|
| Latest Version: | 1.2.2 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 30, 2023 |
| Links: | npm |
Maintainer: mattia-marescotti
@atoms-studio/nuxt-redirects
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
- Add the
@atoms-studio/nuxt-redirectsdependency to your project.
# Using pnpm
pnpm add -D @atoms-studio/nuxt-redirects
# Using yarn
yarn add --dev @atoms-studio/nuxt-redirects
# Using npm
npm install --save-dev @atoms-studio/nuxt-redirects
- Add
@atoms-studio/nuxt-redirectsto themodulessection of yournuxt.config.tsfile.
export default defineNuxtConfig({
modules: ["@atoms-studio/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.
Related Packages
@atoms-studio/components
4,168
@atoms-studio/nuxt-swiftsearch
A tailor made implementation of algolia instantsearch for nuxt 4
75,481
66
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.2 | ^3.0 | MIT | |
| 1.2.1 | ^3.0 | MIT | |
| 1.2.0 | ^3.0 | MIT | |
| 1.1.3 | ^3.0 | MIT | |
| 1.1.2 | ^3.0 | MIT | |
| 1.1.1 | ^3.0 | MIT | |
| 1.1.0 | ^3.0 | MIT | |
| 1.0.3 | ^3.0 | MIT | |
| 1.0.2 | ^3.0 | MIT | |
| 1.0.1 | ^3.0 | MIT |