Skip to content

Commit 5457827

Browse files
TomMakesbarmac
authored andcommitted
chore: add styles instruction to readme
1 parent 6e64482 commit 5457827

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ cd bpmn-js-app
1818

1919
## Integrating bpmn-js
2020

21+
Include the style files for diagram-js and bpmn in your [`Angular.json file`](./bpmn-js-app/angular.json) under projects > your project > architect > build > options > styles
22+
23+
```json
24+
"styles": [
25+
"node_modules/bpmn-js/dist/assets/diagram-js.css",
26+
"node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css",
27+
"src/styles.css"
28+
],
29+
```
30+
2131
Create a component similar to [`DiagramComponent`](./bpmn-js-app/src/app/diagram/diagram.component.ts):
2232

2333
```typescript

0 commit comments

Comments
 (0)