A CLI tool to create PixiJS projects with ease
https://github.com/pixijs/create-pixi.git
<div align="center"> <img src=".github/logo.svg" alt="Logo"/> <h3>A CLI tool to scaffold PixiJS projects</h3> </div>
Check out the full documentation at pixijs.io/create-pixi.
> Compatibility Note: > PixiJS requires Node.js version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
$ npm create pixi.js@latest
With Yarn:
$ yarn create pixi.js
With PNPM:
$ pnpm create pixi.js
With Bun:
$ bun create pixi.js
Then 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 PixiJS + Vite project, run:
npm 7+, extra double-dash is needed:
npm create pixi.js@latest pixi-project -- --template bundler-viteyarn
yarn create pixi.js pixi-project --template bundler-vitepnpm
pnpm create pixi.js pixi-project --template bundler-viteBun
bun create pixi.js pixi-project --template bundler-vite
Currently supported template presets include:
bundler-vitebundler-vite-jsbundler-webpackbundler-webpack-jsbundler-esbuildbundler-esbuild-jsbundler-import-mapcreation-webframework-reactframework-react-jsextension-default. for the project name to scaffold in the current directory.This project is licensed under the MIT License - see the LICENSE file for details.
This project is based on amazing create-vite tool and inspired by the create-game project by Phaser. We are grateful for their work and the inspiration it provided.