mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Add new scripts and machinery to make working on plugin easier
This commit is contained in:
parent
0dbbf44ab2
commit
15e848d4bf
7 changed files with 46 additions and 6 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue