Skip to content
QuireKit
Core docs
Alpha · evolving API
Build a productView Markdown ↗

Complete workspace reference

Find complete workspace, model, extension and file-operation implementations by purpose.

Use this page as a reference after following the tutorial. For your first integration, begin with your first editor. Find individual capabilities by their file responsibilities below.

What each file does

FilePurposeTutorial
product/standalone.tsMount a workspace in an ordinary Vue application and return cleanupProject
product/workspace.vueCompose toolbar, file controls and editing areaInterface
product/runtime.tsCreate Editor and connect View to host dimensionsView
product/assembly/generic.tsConfigure articles and note groupsModel
product/assembly/word.tsConfigure the Word preset and matching initial contentModel
product/session.tsUpdate controls and coordinate editing, saving and loadingInterface
product/files/repository.tsWrite backups to browser storageFiles
product/files/backup.tsValidate backup version, nodes and attributesFiles
product/files/docx.tsLoad Word conversion on demand and handle actual bytesFiles
product/feature/*Note structure, command, layout and selectionContent extension
product/types.tsWorkspace shared typesModule inputs and outputs
shared/download.tsHand generated files to the browser for downloadingFiles

Run it in your project

The complete workspace uses Vue, @quirekit/core, @quirekit/starter-kit, @quirekit/view, @quirekit/view-engine, @quirekit/ui and @quirekit/unocss-preset. The Word variant also uses @quirekit/classic-docx and @quirekit/extension-text-style. See availability and licensing for commercial packages and use matching versions you have obtained.

Copy product/ and shared/ from the file list into src/examples/, preserving relative paths. Enable Vue and UnoCSS in Vite, use defineQuireKitUnoConfig() for UnoCSS, and scan ./src/**/*.{vue,ts}. Import uno.css in your entry; the workspace already imports View structure styles.

src/main.tsts

mountDocumentProduct() receives an existing element and returns cleanup for both Vue and Editor. Call it when the application exits or during hot replacement.

Complete files

Choose one file and expand its arrow. Copy always returns that file's complete original text. All local dependencies remain available in the list.

product/standalone.tsts
QuireKitQuireKit · Core, plugins and Classic docs