mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
Add new scripts and machinery to make working on plugin easier
This commit is contained in:
@@ -4,6 +4,7 @@ end
|
||||
|
||||
local Roact = require(script.Parent.Roact)
|
||||
|
||||
local Config = require(script.Config)
|
||||
local App = require(script.Components.App)
|
||||
|
||||
local app = Roact.createElement(App, {
|
||||
@@ -14,4 +15,10 @@ local tree = Roact.mount(app, game:GetService("CoreGui"), "Rojo UI")
|
||||
|
||||
plugin.Unloading:Connect(function()
|
||||
Roact.unmount(tree)
|
||||
end)
|
||||
end)
|
||||
|
||||
if Config.isDevBuild then
|
||||
local TestEZ = require(script.Parent.TestEZ)
|
||||
|
||||
TestEZ.TestBootstrap:run({script})
|
||||
end
|
||||
Reference in New Issue
Block a user