Web interface for Kompot.
Use Yarn to build the project:
yarn
to install node modulesyarn dev
to run dev serveryarn build
to build app
Optionally edit config.json
to customize URL of API endpoints.
Menu items are loaded from config.json.
In Kompot this file is currently generated by update-menus
.
{
"name": "Schéma de baie",
"type": "drawio",
"schema": "BAIE"
}
Internally, type "drawio" will produce:
{
"name": "Schéma de baie",
"type": "drawio",
"schema": "BAIE",
"to": "/drawio/view/BAIE",
"actions": [
{
"icon": "mdi-pencil",
"href": "./drawio-app/kedit.html#BAIE",
"target": "_blank"
}
]
}
{
"name": "YaNA",
"href": "/yana",
"target": "_blank",
"icon": "mdi-lan"
}