orderable-document-list
Drag-and-drop Document Ordering without leaving the Editing surface
File Explorer
Download Latest Version (.zip)- main.yml
- commit-msg
- pre-commit
- orderableDocumentListDeskItem.ts
- orderRankField.ts
- orderRankOrdering.ts
- getFilteredDeduppedDocs.test.ts
- initialRank.test.ts
- parseOrderRank.test.ts
- reorderDocuments.test.ts
- client.ts
- constants.ts
- getFilteredDedupedDocs.ts
- initialRank.ts
- parseOrderRank.ts
- query.ts
- reorderDocuments.ts
- resetOrder.ts
- Document.tsx
- DocumentListQuery.tsx
- DocumentListWrapper.tsx
- DraggableList.tsx
- index.ts
- OrderableContext.ts
- OrderableDocumentList.tsx
- types.ts
- .editorconfig
- .eslintignore
- .eslintrc
- .gitignore
- .npmignore
- .prettierignore
- .prettierrc
- .releaserc.json
- CHANGELOG.md
- commitlint.config.js
- LICENSE
- lint-staged.config.js
- package-lock.json
- package.config.ts
- package.json
- README.md
- renovate.json
- sanity.config.ts
- sanity.json
- tsconfig.json
- tsconfig.lib.json
- tsconfig.settings.json
- v2-incompatible.js
# Installation Guide
1. Get the code
git clone https://github.com/sanity-io/orderable-document-list
Downloads the entire project code from GitHub to your computer.
cd orderable-document-list
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install --save @sanity/orderable-document-list
Downloads and installs the libraries listed in package.json.
yarn add @sanity/orderable-document-list
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
