Nam Nguyen 273c6fd5fd Merge branch 'develop' into metric-theme 11 mēneši atpakaļ
..
base d036c6ac79 Decouple onReload (#1203) (#1204) 1 gadu atpakaļ
dom d68110984c Add a full screen button to chart (#934) 1 gadu atpakaļ
packaging 27f4a9a892 sort scenario selector (#1318) 1 gadu atpakaļ
public 5f6378fcbc Implement fullwidth styling to FileSelector and FileDownload (#1345) 11 mēneši atpakaļ
src 10b13740bc extracting theme to a common file 11 mēneši atpakaļ
test-config 3bf293a8fc chat control (#1092) 1 gadu atpakaļ
.eslintrc.js 569f29cc06 Change year in copyright 1 gadu atpakaļ
.gitignore e0ba951e10 GUI - Frontend Decoupling (#446) (#613) 1 gadu atpakaļ
README.md e47c7bf57c fix: remove $ from bash example to allow the user to copy the commands 1 gadu atpakaļ
extension-index.md e47c7bf57c fix: remove $ from bash example to allow the user to copy the commands 1 gadu atpakaļ
jest.config.js 3bf293a8fc chat control (#1092) 1 gadu atpakaļ
package-lock.json dc458066c7 datanode selector filter, sort and search (#1372) 11 mēneši atpakaļ
package.json cc5ec3aaee chart disappears on refresh (#1346) 11 mēneši atpakaļ
tsconfig.json 2fd03bcc91 frontend build location (#1026) 1 gadu atpakaļ
typedoc-mkdocs.json 2fd03bcc91 frontend build location (#1026) 1 gadu atpakaļ
webpack.config.js 1a81ef2a54 Add name to shared bundle for easier import (#1027) 1 gadu atpakaļ

README.md

Taipy GUI front-end

This directory contains the source code of the Taipy GUI front-end bundle that includes the web app and all the elements natively available in Taipy GUI.

Prerequisites

Node.js JavaScript runtime version 18 or above must be installed on your machine.
Note that Node.js comes with the npm package manager as part of the standard installation.

Build

To build the Taipy GUI bundle, you must set your current directory to this directory and then run the following commands:

# Current directory is the directory where this README file is located:
#   [taipy-dir]/frontend/taipy-gui
#
# Install the DOM dependencies (once and for all)
cd dom
npm i
cd ..
# Install the web app dependencies
npm i --omit=optional
# Build the web app and all elements
npm run build

After these commands are successfully executed, a new directory will be created in [taipy-dir]/taipy/gui/webapp containing all the code that the Taipy GUI front-end relies on.