chore: docs

This commit is contained in:
mathuo 2023-04-03 22:38:46 +01:00
parent 21bbaa7349
commit dd70450a8e
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
4 changed files with 7 additions and 4 deletions

View File

@ -25,4 +25,4 @@
"/packages/docs/sandboxes/watermark-dockview" "/packages/docs/sandboxes/watermark-dockview"
], ],
"node": "16" "node": "16"
} }

View File

@ -720,4 +720,7 @@ The core library is published as an independant package under the name `dockview
> When using `dockview` there is no need to also install `dockview-core`. > When using `dockview` there is no need to also install `dockview-core`.
> `dockview-core` is a dependency of `dockview` and automatically installed during the installation process of `dockview` via `npm install dockview`. > `dockview-core` is a dependency of `dockview` and automatically installed during the installation process of `dockview` via `npm install dockview`.
<Container injectVanillaJS={attachDockviewVanilla} /> <Container
sandboxId="vanilla-dockview"
injectVanillaJS={attachDockviewVanilla}
/>

View File

@ -2,7 +2,7 @@ import {
DockviewComponent, DockviewComponent,
IContentRenderer, IContentRenderer,
IGroupPanelInitParameters, IGroupPanelInitParameters,
} from 'dockview'; } from 'dockview-core';
class DefaultPanel implements IContentRenderer { class DefaultPanel implements IContentRenderer {
private _element: HTMLElement; private _element: HTMLElement;

View File

@ -1,5 +1,5 @@
import './styles.css'; import './styles.css';
import 'dockview/dist/styles/dockview.css'; import 'dockview-core/dist/styles/dockview.css';
import { attach } from './app'; import { attach } from './app';