Documentation
Connect to Studio (after init)
Projects created with robloxui init include game.rbxl when Rojo is available. Open it in Studio, run npm run dev, connect, and press Play.
One-time on your machine
Roblox-TS
default.project.json Daily dev commands:
bashnpm run devOne command manages the compiler and Rojo processes while you develop.
Appears in Studio after Rojo sync:
-
StarterPlayer → StarterPlayerScripts → TS → main -
ReplicatedStorage → rbxts_include → node_modules → robloxui (with --theme)
React-Luau (Wally)
default.project.json Daily dev commands:
bashnpm run devOne command manages the compiler and Rojo processes while you develop.
Appears in Studio after Rojo sync:
-
StarterPlayer → StarterPlayerScripts → Client → init.client -
ReplicatedStorage → Packages → RuiTheme (with --theme) -
src/client/ui/components
Open in Roblox Studio
- 1 Open game.rbxl from your project folder in Roblox Studio (generated by init when Rojo is available).
- 2 Run npm run dev in the project root; it starts the compiler and Rojo together.
- 3 Open the Rojo plugin → Connect (default localhost:34850).
- 4 Press Play — the sample button should appear.
- 5 Add marketplace components with npx robloxui add <slug> into src/client/ui/components/.
Troubleshooting
- No game.rbxl — run
mise installand thennpm run build:place(Roblox-TS) orrojo build default.project.json -o game.rbxl - Rojo won't connect — ensure
npm run devis running - Nothing in Play (Roblox-TS) — keep
npm run devrunning soout/client/stays compiled - RuiTheme not found — the theme is opt-in; re-run
npx robloxui add <slug> --themeto vendor the bundled theme, then reconnect Rojo