Repository to store the common assets files that integration-core may require
To generate the appropriate UI files, run the following commands:
npm install
npm run dist
This will generate all necessary UI resources in the dist
directory.
The dist/resources
directory contains:
- assets/fonts files
- css/sequra-core.css file
- js files
- lang files
The contents of the dist
directory are automatically regenerated and committed to the repository on every push to any branch. This is handled by a GitHub Actions workflow, which runs npm run dist
and commits any changes to dist
back to the remote repository. You do not need to manually build or commit the dist
directory when pushing changes; this process is fully automated.
That said, if you want to manually trigger a rebuild of the dist
directory after every change to the UI source files, the next command should be run:
npm run dist
to regenerate the output files.
Once the UI resources are generated in the dist
directory, the new code should be pushed.
In every SeQura integration, should be added a development dependency to the sequra-core-admin-fe
package:
"sequra-core-admin-fe": "github:sequra/integration-core-ui"
After adding the dependency, install or update the project's packages using the appropriate package manager (npm) to ensure that sequra-core-admin-fe
is installed.
The package will be placed in the node_modules
directory.
Each SeQura integration includes specific instructions in its README file that should be followed to correctly import and place the CORE UI resources.