You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

unplugin-tanstack-router

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-tanstack-router

[![NPM version](https://img.shields.io/npm/v/unplugin-tanstack-router?color=a1b858&label=)](https://www.npmjs.com/package/unplugin-tanstack-router)

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

unplugin-tanstack-router

NPM version

Build plugin for route generation and file splitting built on unplugin.

Install

npm i unplugin-tanstack-router
Vite
// vite.config.ts
import TanStackRouter from 'unplugin-tanstack-router/vite'

export default defineConfig({
  plugins: [
    TanStackRouter({ /* options */ }),
  ],
})


Rollup
// rollup.config.js
import TanStackRouter from 'unplugin-tanstack-router/rollup'

export default {
  plugins: [
    TanStackRouter({ /* options */ }),
  ],
}


Webpack
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('unplugin-tanstack-router/webpack')({ /* options */ })
  ]
}


Nuxt
// nuxt.config.js
export default defineNuxtConfig({
  modules: [
    ['unplugin-tanstack-router/nuxt', { /* options */ }],
  ],
})

This module works for both Nuxt 2 and Nuxt Vite


Vue CLI
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('unplugin-tanstack-router/webpack')({ /* options */ }),
    ],
  },
}


esbuild
// esbuild.config.js
import { build } from 'esbuild'
import TanStackRouter from 'unplugin-tanstack-router/esbuild'

build({
  plugins: [TanStackRouter()],
})


Development

To test your plugin, run: pnpm run dev To release a new version, run: pnpm run release

Keywords

unplugin

FAQs

Package last updated on 13 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts