Registry / devops / create-vite-pages

create-vite-pages

JSON →
library5.0.1jsnpmunverified

A scaffolding tool to initialize projects using vite-pages, a React-based file-system routing library for Vite. Current stable version is 5.0.1. It provides three templates: app (default SPA), lib (library), and lib-monorepo (monorepo library). The tool is primarily used via `npm init vite-pages`. Compared to other scaffolding tools like create-react-app, it integrates deeply with Vite and file-system routing. Release cadence follows vite-plugin-react-pages updates.

npm install create-vite-pages
INSTALL
IMPORT
SIG · CREATE-VITE-PAGES
C
create-vite-pages
devopsjavascriptv5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Creates a new vite-pages app project, installs dependencies, and starts the dev server.

npm init vite-pages my-app -- --template app cd my-app npm install npm run dev
Debug
Known issues
gotchanpm 6.x users must omit the extra double-dash before --template. Use: npm init vite-pages app-demo --template app
fix
Use npm init without the double-dash on npm 6.x.
affects: <5
Errors
Common errors & fixes
npm ERR! Unexpected option: --template
Using npm 6.x with double-dash before --template
fix
Run: npm init vite-pages my-app --template app (omit the double-dash)
Upgrade
Version history
5.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
create-vite-pages — npm install create-vite-pages · libregistry