0.1.0 • Published 3 years ago

openrct2-fluentui v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

FluentUI for OpenRCT2 plugins

W.I.P.

A fluent-based user interface library for creating windows for OpenRCT2 plugins.


Building the source code

Requirements: Node, NPM.

  1. Open command prompt, use cd to change your current directory to the root folder of this project and run npm install.
  2. Find openrct2.d.ts TypeScript API declaration file in OpenRCT2 files and copy it to lib folder (this file can usually be found in C:/Users/<YOUR NAME>/Documents/OpenRCT2/bin/ or C:/Program Files/OpenRCT2/).
    • Alternatively, you can make a symbolic link instead of copying the file, which will keep the file up to date whenever you install new versions of OpenRCT2.
  3. Run npm run build (release build) or npm run build:dev (develop build) to build the project.
    • The default output folder for the package is (project directory)/dist and can be changed in rollup.config.prod.js and rollup.config.dev.js respectively.