DOCS / GETTING STARTED
Installation
Two moves: install the package, let CMake fetch the module. That’s it.
1. The UI package
bun add @vsreact/coreThat’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:
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
| TOOL | VERSION |
|---|---|
| CMake | 3.22+ |
| C++ toolchain | C++17 — MSVC 2022, Xcode/clang, or gcc |
| JUCE | 8 — your plugin already has this |
| Bun / Node | Bun 1.x or Node 18+ — for installing and bundling the UI |
Done? The quick start gets you a running plugin in five minutes.