This commit is contained in:
Luca Deri 2024-09-04 19:26:06 +02:00 committed by GitHub
parent e8aaf9112e
commit bbfbac5b4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ This guide is a quickstart to get up and running for GUI development
3. Before making changes to any page make sure to run `npm run watch` so that changes are displayed after every file save
4. After having made changes please build with the appropriate command.
- `npm run build:ntopng.js` to compile js only. If CSS changes have not been done
- `npm run build:ntopng.js` to compile css only. If JS changes have not been done
- `npm run css:lint` to compile css only. If JS changes have not been done
- `npm run build` to compile all the changes
## Project structure
@ -120,4 +120,4 @@ In the example below is exported the function `getId()` which is mapped to the C
const ifid = props.context.ifid;
```
in this way from vue it is possible to access the ifid passed. To access other parameters do `const newParameter = props.context.newParameter`
- `ntopng_utility` is a class used please refer to the specific documentation file for the usage of this class: [Read more details](README.GUI.ntopng_utility_js.md)
- `ntopng_utility` is a class used please refer to the specific documentation file for the usage of this class: [Read more details](README.GUI.ntopng_utility_js.md)