Sections
Section Types
Type
Purpose
Folder Structure
sections/<section-name>/
├── client.ts # Client-side hydration entry point
├── server.ts # Server-side rendering entry point
├── Section.vue # Vue component
├── type.ts # TypeScript type definitions (Content, Design)
├── settings/
│ ├── content.ts # Content editor definitions
│ ├── design.ts # Design editor definitions
│ ├── layout.ts # Layout configurations (optional)
│ └── translations.ts # Translation strings (optional)
└── showcases/ # Showcase configurations (optional)
├── 1.ts
├── 2.ts
└── translations.ts # Showcase-specific translations (optional)Files Overview
Entry Points
Component and Types
Settings
Showcases
Mandatory Settings
Linting
What It Includes
Notable Rules
Rule
Setting
Description
Running the Linter
Advanced Composables
useVueBaseProps
useVueBasePropsuseInstantsiteJsApi
useInstantsiteJsApiLearn more
Last updated
Was this helpful?
