Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@pixi/app

pixijs503kMIT7.4.3TypeScript support: included

Convenience class to create a new PixiJS application

readme

@pixi/app

Installation

npm install @pixi/app

Usage

import { Application } from '@pixi/app';

const app = new Application();
document.body.appendChild(app.view);

Plugins

PixiJS provides a few plugins to add features to the Application. These can be installed from the following packages. Use extensions.add to use these plugins. Note: if you are using pixi.js or pixi.js-legacy bundles, this is unnecessary since plugins are installed automatically by default.

  • TickerPlugin from @pixi/ticker