create-van-app
v0.3.0
Published
VanJS CLI for creating new projects
Maintainers
Readme
create-van-app
Scaffolding Your First Van Project
Compatibility Note: Create Van App requires Node.js version 20.19+, 22.12+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
npm create van-app@latestWith Yarn:
yarn create van-appWith PNPM:
pnpm create van-appWith Bun:
bun create van-appWith Deno:
deno init --npm van-appThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a VanJS + Tailwind project, run:
# npm 7+, extra double-dash is needed:
npm create van-app@latest my-van-app -- --template vanjs-ts-tailwind
# yarn
yarn create van-app my-van-app --template vanjs-ts-tailwind
# pnpm
pnpm create van-app my-van-app --template vanjs-ts-tailwind
# Bun
bun create van-app my-van-app --template vanjs-ts-tailwind
# Deno
deno init --npm van-app my-van-app --template vanjs-ts-tailwindCurrently supported template presets include:
vanjs-ts+tailwind← defaultvanjs-ts+cssvanjs+tailwindvanjs+css
You can use . for the project name to scaffold in the current directory.
