fable-import-pixi

0.0.10 • Public • Published

fable-import-pixi

Fable bindings for PixiJS v3

Installation

npm install --save fable-core pixi.js@^3.0.0
npm install --save-dev fable-import-pixi

Note: If you're loading PixiJS on the browser with require.js, use the prebuilt file: node_modules/pixi.js/bin/pixi.min.js

Usage

F# project (.fsproj)

  <ItemGroup>
    <Reference Include="node_modules/fable-core/Fable.Core.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="node_modules/fable-import-pixi/Fable.Import.Pixi.fs" />
  </ItemGroup>

F# script (.fsx)

#r "node_modules/fable-core/Fable.Core.dll"
#load "node_modules/fable-import-pixi/Fable.Import.Pixi.fs"
 
open Fable.Core
open Fable.Import

Package Sidebar

Install

npm i fable-import-pixi

Weekly Downloads

1

Version

0.0.10

License

Apache-2.0

Last publish

Collaborators

  • alfonsogarciacaro
  • mangelmaxime
  • whitetigle