Scaffold new app

You can use Bati to scaffold a new Vike app (that uses Vike extensions).

You can also, if you want full control over integration code, use the following command to scaffold a new Vike app (that doesn't use any Vike extension).

⚠

We recommend using the following command only if:

  • You are an expert user, and you need control over integration code.
  • You are curious and want to play with integration code.

With npm:

npm init vike@latest

With pnpm:

pnpm create vike

With Yarn:

yarn create vike

Options:

  • --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