Merge pull request #240 from mathuo/220-improve-documentation

chore: docs
This commit is contained in:
mathuo 2023-04-03 22:45:56 +01:00 committed by GitHub
commit acb500a9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -25,4 +25,4 @@
"/packages/docs/sandboxes/watermark-dockview"
],
"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`.
> `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,
IContentRenderer,
IGroupPanelInitParameters,
} from 'dockview';
} from 'dockview-core';
class DefaultPanel implements IContentRenderer {
private _element: HTMLElement;

View File

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