Registry / devops / create-vite-extra

create-vite-extra

JSON →
library5.0.2jsnpmunverified

A scaffolding tool for Vite projects with extra templates beyond the official Vite starter. Version 5.0.2, released slowly with each Vite major version. It provides templates for SSR (server-side rendering) with Vanilla, Vue, React, Preact, and streaming variants, all with optional TypeScript. Unlike the official create-vite, this focuses on advanced setups like SSR and React compiler experiments. Requires Node.js 20.19+ or 22.12+.

npm install create-vite-extra
INSTALL
IMPORT
SIG · CREATE-VITE-EXTRA
C
create-vite-extra
devopsjavascriptv5.0.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

create-vite-extra
npm create vite-extra@latest
npx create-vite-extra
Always use create command, not npx, for the latest version. Equivalent to npx create-vite-extra but ensures caching.
project scaffolding
npm create vite-extra@latest my-app -- --template ssr-vue
npm create vite-extra my-app --template ssr-vue
The extra '--' is needed before --template in npm; omitting it passes --template to npm itself, not the script.
pnpm scaffolding
pnpm create vite-extra my-app --template ssr-vue
pnpm create vite-extra my-app -- --template ssr-vue
pnpm does not need the extra '--'; it passes args directly to the package.

Scaffold a new Vite SSR Vue project with TypeScript using create-vite-extra.

npm create vite-extra@latest my-app -- --template ssr-vue cd my-app npm install npm run dev
create-vite-extra --version
Debug
Known issues
breakingcreate-vite-extra v4 requires Node.js 18+, but v5 requires 20.19+ or 22.12+.
fix
Upgrade Node.js to version 20.19+ or 22.12+.
affects: >=5.0.0
gotchaSome templates (e.g., ssr-react-compiler) are experimental and may break with newer Vite versions.
fix
Check the README or template status before using experimental templates.
affects: >=5.0.0
gotchaWhen using npm, the --template flag must be preceded by -- to avoid passing it to npm itself.
fix
Use npm create vite-extra@latest -- --template <name>.
affects: >=0.0.0
deprecatedThe template 'ssr-react-compiler-streaming-ts' appears twice in the README table, one might be a duplicate or misnamed.
fix
Use 'ssr-react-compiler-streaming-ts' if you need it; be aware of potential duplication.
affects: >=5.0.0
Errors
Common errors & fixes
Error: Unknown command: vite-extra
Using 'npx create-vite-extra' which isn't a standard command structure.
fix
Use 'npm create vite-extra@latest' or 'pnpm create vite-extra'.
Error: The engine "node" is incompatible with this module. Expected version ">=20.19.0 || >=22.12.0"
Node.js version is too old for create-vite-extra v5.
fix
Upgrade Node.js to 20.19+ or 22.12+.
npm ERR! Unknown option: --template
The --template flag was passed to npm instead of the create script because '--' was missing.
fix
Use 'npm create vite-extra@latest -- --template ssr-vue' with the double dash.
Upgrade
Version history
5.0.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
create-vite-extra — npm install create-vite-extra · libregistry