@wisdom-w/config-vite

Vite configuration and utilities for Vue 3 and TypeScript projects.
141,894
Install
npm install @wisdom-w/config-vite
Latest Version:6.4.0
Vue:3
Last Updated:Jul 23, 2026
Links: npm
Maintainer: wisdomw

Vite configuration

Vite configuration and utilities for Vue 3 and TypeScript projects.

How to use

  1. Install the package:
pnpm add -D @wisdom-w/config-vite
  1. Create a .npmrc file with the following content:
public-hoist-pattern[]=!*@wisdom-w/config-vite*
  1. Create a vite.config.ts file with the following content:

For ESM projects:

import { createViteConfig } from '@wisdom-w/config-vite'

export default createViteConfig()
  1. Append the following types content to tsconfig.json:
{
  "compilerOptions": {
    "types": [
      "@wisdom-w/config-vite/global",
    ],
  },
}

Version History

Version Released License
6.4.0
6.3.4
6.3.3
6.3.2
6.3.1