Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ coverage/

# Temporary files
*.tmp
*.swp
*.swp

docs/build
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"files": {
"ignore": ["python", "**/package.json"]
"ignore": ["python", "**/package.json", "viewer/package.json"]
},
"vcs": {
"enabled": true,
Expand Down
33 changes: 33 additions & 0 deletions docs/viewer/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
Comment thread
davehorsfall marked this conversation as resolved.
title: Quick start
---


### Getting started

## Installation


```
npm install @hms-dbmi/vizarr
```

## Basic Usage

```
import VizarrViewer from '@hms-dbmi/vizarr'

function App() {

const sources = ["https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.5/idr0062A/6001240_labels.zarr"]

return(
<VizarrViewer
sources={sources}
viewState={viewState}
/>
)
}


```
Comment on lines +17 to +33
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"build:viewer": "pnpm --filter vizarr build",
"build:roi-selector": "pnpm --filter @biongff/roi-selector build",
"build:app": "pnpm --filter app build",
"build:docs": "pnpm typedoc --plugin typedoc-github-theme",
"test": "vitest",
"build": "pnpm build:viewer && pnpm build:roi-selector && pnpm build:app"
},
Expand All @@ -29,6 +30,8 @@
"@vitejs/plugin-react": "^4.3.4",
Comment thread
davehorsfall marked this conversation as resolved.
"@vitest/coverage-v8": "4.0.15",
"semantic-release": "^25.0.2",
"typedoc": "^0.28.18",
"typedoc-github-theme": "^0.4.0",
"typescript": "^5.8.2",
"vite": "^6.2.7",
"vitest": "^4.0.15"
Expand Down
Loading
Loading