Skip to content

Installation

Svelte Pixi is a component library that allows you to write PixiJS applications declaratively in Svelte.

The easiest way to get started is to use one of the example templates

npx degit mattjennings/svelte-pixi/examples/vite
npm install
npm run dev

Adding to an Existing Project

If you have an existing project, you just need to install the following dependencies:

npm install pixi.js svelte-pixi