@5minds/processcube_app_sdk 8.6.0 → 8.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -10
- package/build/client/index.cjs +11 -11
- package/build/client/index.mjs +10 -10
- package/package.json +1 -2
- package/build/client/index.css +0 -1
package/README.md
CHANGED
|
@@ -111,22 +111,15 @@ export default nextConfig;
|
|
|
111
111
|
|
|
112
112
|
### CSS einbinden
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
Komponenten-CSS wird automatisch geladen — beim Import einer Client-Komponente wird das zugehörige Stylesheet vom Consumer-Bundler (webpack/turbopack) mit aufgelöst. Ein manueller CSS-Import ist in den meisten Fällen nicht nötig.
|
|
115
|
+
|
|
116
|
+
Falls die Tailwind-Basisstyles (Resets, Utilities) separat benötigt werden:
|
|
115
117
|
|
|
116
118
|
```typescript
|
|
117
119
|
// app/layout.tsx
|
|
118
120
|
import '@5minds/processcube_app_sdk/client/styles';
|
|
119
121
|
```
|
|
120
122
|
|
|
121
|
-
Alternativ können einzelne Komponenten-Stylesheets importiert werden:
|
|
122
|
-
|
|
123
|
-
```typescript
|
|
124
|
-
import '@5minds/processcube_app_sdk/client/components/ProcessInstanceInspector/ProcessInstanceInspector.css';
|
|
125
|
-
import '@5minds/processcube_app_sdk/client/components/BPMNViewer.css';
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
> **Hinweis:** Die `DynamicUi`-Komponente importiert ihr CSS automatisch. Ein separater CSS-Import ist dafür nicht nötig.
|
|
129
|
-
|
|
130
123
|
### Umgebungsvariablen
|
|
131
124
|
|
|
132
125
|
Erstelle eine `.env.local` im Projekt-Root:
|