Scaffold new Vike app

We recommend using Bati for creating new apps.

Apps scaffolded by Bati use vike-react/vike-vue/vike-solid.

Without vike-{react,vue,solid}

You can also create a new Vike app that doesn't use vike-react/vike-vue/vike-solid.

The following command scaffolds a Vike app with a production-ready React/Vue/Solid integration that lives in user land (whereas with vike-{react,vue,solid} the integration lives at node_modules/vike-{react,vue,solid}). Thus, you control the integration of React/Vue/Solid and can modify it to fit your bespoke needs. You can also integrate any other UI framework.

Do this only if you have a clear reason for not using vike-react/vike-vue/vike-solid. See Vike extension VS custom integration.

With npm:

npm create vike@latest

With pnpm:

pnpm create vike

With Bun:

bun create vike

With Yarn:

yarn create vike


  • --skip-git: don't initialize a new Git repository

A prompt will let you choose between:

  • react: React + JavaScript
  • react-ts: React + TypeScript
  • vue: Vue + JavaScript
  • vue-ts: Vue + TypeScript

See also:

See also