kliping.pro
  • Docs
  • Explore
  • Builder
  • Directory
  • Colors
  • Typeset
Saved
Docs
  • Sections13
  • Installation5
  • Dark Mode4
  • Forms3
  • Registry6
  • Overview
  • Getting Started
  • Examples
  • registry.json
  • registry-item.json
  • FAQ
  • Utilities2
  • More10
  • Components137
  1. Docs
  2. Registry
  3. registry.json

registry.json

PreviousNext

Skema untuk menjalankan registry komponen Anda sendiri.

Skema registry.json dipakai untuk mendefinisikan registry komponen buatan Anda.

json
{
  "$schema": "https://kliping.pro/schema/registry.json",
  "name": "acme",
  "homepage": "https://acme.com",
  "items": [
    {
      "name": "hello-world",
      "type": "registry:block",
      "title": "Hello World",
      "description": "A simple hello world component.",
      "files": [
        {
          "path": "registry/new-york/HelloWorld/HelloWorld.vue",
          "type": "registry:component"
        }
      ]
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Definisi ​

JSON Schema untuk registry.json bisa Anda lihat di sini.

$schema ​

Properti $schema menentukan skema untuk berkas registry.json.

json
{
  "$schema": "https://kliping.pro/schema/registry.json"
}
1
2
3

name ​

Properti name menentukan nama registry Anda. Nilainya dipakai untuk atribut data dan metadata lainnya.

json
{
  "name": "acme"
}
1
2
3

homepage ​

Halaman utama registry Anda. Nilainya dipakai untuk atribut data dan metadata lainnya.

json
{
  "homepage": "https://acme.com"
}
1
2
3

items ​

Daftar items di registry Anda. Tiap item harus mengikuti spesifikasi skema registry-item.

json
{
  "items": [
    {
      "name": "hello-world",
      "type": "registry:block",
      "title": "Hello World",
      "description": "A simple hello world component.",
      "files": [
        {
          "path": "registry/new-york/HelloWorld/HelloWorld.vue",
          "type": "registry:component"
        }
      ]
    }
  ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Keterangan lengkapnya ada di dokumentasi skema registry-item.

PreviousExamplesNext registry-item.json

On This Page

Definisi$schemanamehomepageitems

© 2026 Kliping. Free components are open source under the MIT License.

LicenseCreditsRoadmap