create-drift
v0.0.7
Published
Interactive CLI scaffolding tool for DriftJS register VM client and server applications.
Downloads
990
Maintainers
Readme
create-drift
CLI scaffolding tool for DriftJS — high-performance register VM Single File Component applications.
Quick Start
Create a new DriftJS project instantly using your preferred package manager:
# npm
npx create-drift my-app
# pnpm
pnpm create drift my-app
# yarn
yarn create drift my-app
# bun
bun create drift my-appNon-Interactive / Quick Mode
Skip prompts and initialize immediately with default Client-Side Rendering (CSR) settings:
npx create-drift my-app -yOptions & Flags
| Flag | Short | Description |
| :--- | :--- | :--- |
| --yes | -y | Automatically accept defaults (CSR, auto-install dependencies, start dev server) |
| --help | -h | Display usage and help message |
Supported Rendering Targets
- CSR (Client-Side Rendering): Scaffolds a fast client-side Vite project using
@driftjs/dom. - SSR (Server-Side Rendering): Scaffolds a dual CSR/SSR project using
@driftjs/ssrand Node.js server entry.
License
MIT © Hrutav Modha
