VSTDOCSv0.0.17

DOCS / GETTING STARTED

Installation

Two moves: install the package, let CMake fetch the module. That’s it.

1. The UI package

bun add @vsreact/core

That’s the whole JS side — @vsreact/core brings React 18 and the reconciler with it.

2. The native module

Add one block to your plugin’s CMakeLists.txt, after JUCE — CMake downloads the module at configure time, pinned to the tag:

CMakeLists.txt
include(FetchContent)

FetchContent_Declare(vsreact
    GIT_REPOSITORY https://github.com/N9RecordsTechnologiesIL/VSReacT.git
    GIT_TAG        v0.0.17
    SOURCE_SUBDIR  vsreact)

FetchContent_MakeAvailable(vsreact)

target_link_libraries(MyPlugin PRIVATE vsreact)

QuickJS, Yoga, and the module’s JUCE dependencies come along automatically. (A git submodule + add_subdirectory(path/vsreact) works the same, if you prefer vendoring.)

Requirements

TOOLVERSION
CMake3.22+
C++ toolchainC++17 — MSVC 2022, Xcode/clang, or gcc
JUCE8 — your plugin already has this
Bun / NodeBun 1.x or Node 18+ — for installing and bundling the UI

Done? The quick start gets you a running plugin in five minutes.