This template should help get you started developing with Vue 3 in Vite.
- VSCode
- Volar (and disable Vetur)
- TypeScript Vue Plugin (Volar)
See Vite Configuration Reference.
To set up the project, follow these steps:
-
Install Dependencies
npm install
-
Create
.envFileTo run the project locally, create a
.envfile in the root of thefrontendfolder with the following content:VITE_BASE_URL=http://localhost:8090/cibseven-modeler/ VITE_BASE_URL_CIBSEVEN=http://localhost:8090 VITE_CLIENT=client/ -
Compile and Hot-Reload for Development
npm run dev
-
Compile and Minify for Production
npm run build
-
Lint with ESLint
npm run lint
-
Update BPMN Lint Rules
If there have been changes to the BPMN lint rules in the .bpmnlint file, update the configuration by running the following command inside the
frontendfolder:npx bpmnlint-pack-config -c .bpmnlintrc -o linterConfig.js -t es
To address a bug in the BPMN library related to DataStoreReference, we have overridden the no-overlapping-elements rule with a custom version.
The modified line is number 70, where an optional chaining operator has been added:
if (isOutsideParentBoundary(diObjects.get(element)?.bounds, parentDi.bounds))Currently, the .bpmnlint file is configured so it doesn't take the default configuration:
"rules": {
"no-overlapping-elements": "off",
"local/custom-no-overlapping-elements": "warn"
}The value 'off' tells the library to not take the custom script, and local/custom-no-overlapping-elements to take the custom one.
For future updates of bpmn-js-bpmnlint please check first if this issue has been solved to remove the custom script and keep the library up to date.
Ensure you have the .env file set up as described above. This configuration is necessary for the application to interact correctly with the local development environment.
For more information on configuration and usage, check out: