Skip to content

Commit 76859b0

Browse files
Some instructions and further links
1 parent bbbdf49 commit 76859b0

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

docs/creating-templates.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,24 @@ title: Configuring uibuilder Templates
33
description: >
44
Describes the structure of a template package and how to deploy them.
55
created: 2022-04-09 19:06:00
6-
lastUpdated: 2022-04-09 19:06:04
6+
lastUpdated: 2022-09-18 14:55:59
77
---
88

9-
Tbc.
9+
uibuilder has a feature that lets you quickly create a web app based on a template configuration.
1010

11-
Some additional information on templates can be found in the [Configuring uibuilder](uib-configuration?id=ltuibrootgtltinstance-urlgt) page
11+
## Creating
12+
13+
You can create a flow with a uibuilder node, set the URL and deploy (which creates the folder structure), change your front-end code including any build-step, local libraries, API's, etc. Add a README file and make any changes you need to package.json.
14+
15+
## Using
16+
17+
You can then put that whole folder structure into a GitHub repository which can then be referenced when you want to create a new copy of the app. Simply create a new flow with a uibuilder node, set the URL, deploy. Then change the template to the githubname/reponame and the whole thing will overwrite the current folder.
18+
19+
## Template Structure
20+
21+
TBC. Currently, please see the example external template at [TotallyInformation/uib-template-svelte-simple](https://github.com/TotallyInformation/uib-template-svelte-simple) or [TotallyInformation/uib-template-test](https://github.com/TotallyInformation/uib-template-test).
22+
23+
## Additional information
24+
25+
* Some additional information on templates can be found in the [Configuring uibuilder](uib-configuration?id=ltuibrootgtltinstance-urlgt) page.
26+
* There is a catalogue of external templates at https://github.com/TotallyInformation/node-red-contrib-uibuilder/wiki/External-Templates-Catalogue - please feel free to add your own templates there or let me know and I can add them for you.

0 commit comments

Comments
 (0)