...
You can create libraries which are then re-usable from any other Iguana X component.
Expand |
---|
title | Step STEP 1: Start with a component which you have edit rights for and has a remote setup already. |
---|
|
If you need a reminder see Customizing components Edit a Component |
Expand |
---|
title | Step STEP 2: Create a directory FOO |
---|
|
Click on the new folder icon and name the folder FOO. Image RemovedImage Added |
Expand |
---|
title | Step STEP 3: Create a file FOObar.lua in the FOO directory and add a function FOObar |
---|
|
Start here: Image RemovedImage AddedIn the context menu that comes up select Create File and create a FOObar.lua file with this content: Code Block |
---|
function FOObar()
return "The world needs more FOO";
end |
|
Expand |
---|
title | Step STEP 4: Invoke Create Library from the FOO folder ellipsis menu: |
---|
|
Image RemovedImage Added Click CREATE |
Expand |
---|
title | Step STEP 5: Fill out the repository management screen to determine what remote git repository to put the library code in: |
---|
|
See Repository Management Screen if you need a refresher about this. |
Expand |
---|
title | Step STEP 6: Commit and push the FOO library changes |
---|
|
See Commit and Push Changes to Git |