@@ -7,12 +7,17 @@ including keeping the standard LabKey header and header menus.
77Clone the tutorialModules repo into ` /server/modules ` directory and add the directory in ` settings.gradle ` . You can then build this module
88using the [ LabKey Gradle build] . This will install necessary packages, generate resources and put resources in correct LabKey module's directories.
99
10- There are two example React pages:
10+ There are three example React pages:
1111- http://localhost:8080/labkey/home/demo-helloWorld.view ?
12+ - http://localhost:8080/labkey/home/demo-queryModel.view ?
1213- http://localhost:8080/labkey/home/demo-todoList.view ?
1314
1415Also, this module has an example of using the todoList page in a LabKey webpart.
1516
17+ One of the example React pages, ` demo-queryModel.view ` , has example usages of components from
18+ the LabKey React shared component library, ` @labkey/components ` . You can see more details and
19+ documentation regarding these shared components from the [ Public API doc] page.
20+
1621<a name =" functionality " ></a >
1722# Functionality Overview
1823The compilation and packaging of this module, including the NPM/webpack build, is done with the standard LabKey Gradle build.
@@ -35,6 +40,7 @@ to allow updates made to TypeScript, JavaScript, CSS and SCSS files to take effe
3540start the server, from the command line in the demo module directory run ` npm start ` , then navigate to either of the appropriate development
3641pages (note the "Dev" added to the end of the action name).
3742- http://localhost:8080/labkey/home/demo-helloWorldDev.view ?
43+ - http://localhost:8080/labkey/home/demo-queryModelDev.view ?
3844- http://localhost:8080/labkey/home/demo-todoListDev.view ?
3945
4046<a name =" jest " ></a >
@@ -44,4 +50,5 @@ Jest snapshot in the HelloWorld module. Jest tests can be run using `npm run te
4450
4551
4652[ LabKey Gradle build] : https://www.labkey.org/Documentation/wiki-page.view?name=gradleBuild
47- [ Node.js Build Dependency] : https://www.labkey.org/Documentation/wiki-page.view?name=nodejs
53+ [ Node.js Build Dependency] : https://www.labkey.org/Documentation/wiki-page.view?name=nodejs
54+ [ Public API doc] : https://github.com/LabKey/labkey-ui-components/blob/master/packages/components/docs/public.md
0 commit comments