# vite-plugin-vue2 **Repository Path**: typescript2024/vite-plugin-vue2 ## Basic Information - **Project Name**: vite-plugin-vue2 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-02 - **Last Updated**: 2024-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @vitejs/plugin-vue2 [![npm](https://img.shields.io/npm/v/@vitejs/plugin-vue2.svg)](https://npmjs.com/package/@vitejs/plugin-vue2) > [!CAUTION] > Vue 2 has reached EOL, and this project is no longer actively maintained. --- > Note: this plugin only works with Vue@^2.7.0. ```js // vite.config.js import vue from '@vitejs/plugin-vue2' export default { plugins: [vue()] } ``` ## Options ```ts export interface Options { include?: string | RegExp | (string | RegExp)[] exclude?: string | RegExp | (string | RegExp)[] isProduction?: boolean // options to pass on to vue/compiler-sfc script?: Partial> template?: Partial< Pick< SFCTemplateCompileOptions, | 'compiler' | 'compilerOptions' | 'preprocessOptions' | 'transpileOptions' | 'transformAssetUrls' | 'transformAssetUrlsOptions' > > style?: Partial> } ``` ## Asset URL handling When `@vitejs/plugin-vue2` compiles the `