Scaffold new app without Vike extension
In general, we recommend vike.dev/new for creating new Vike apps as it scaffolds apps that use Vike extensions such as vike-react
/vike-vue
/vike-solid
.
But you can also create a new Vike app that doesn't use any Vike extensions. The following command scaffolds a Vike app with a fully custom React/Vue integration.
🧠Custom integrations can be complex and we generally recommend usingvike-react
/vike-vue
/vike-solid
instead, see Vike extension VS custom integration.⚠️ We recommend using such advanced capability, which can be complex to use, only if you have a clear reason why simpler alternatives aren't an option for you.
With npm:
npm create vike-core@latest
With pnpm:
pnpm create vike-core
With Bun:
bun create vike-core
With Yarn:
yarn create vike-core
Options:
--skip-git
: don't initialize a new Git repository
A prompt will let you choose between:
react
: React + JavaScriptreact-ts
: React + TypeScriptvue
: Vue + JavaScriptvue-ts
: Vue + TypeScript
See also:
- GitHub >
vikejs/vike
>boilerplates/
- GitHub >
vikejs/vike
>examples/react-minimal
- GitHub >
vikejs/vike
>examples/react-full
- GitHub >
vikejs/vike
>examples/vue-minimal
- GitHub >
vikejs/vike
>examples/vue-full