Back to Knowledge Base
How to Create Your First Custom App
Your first Custom App in 5 minutes
Section titled “Your first Custom App in 5 minutes”Step 1: Create the app
Section titled “Step 1: Create the app”- Go to Menu → Developer → Custom Apps
- Click + New Custom App
- Enter a Name, select Kind: Page, pick an icon
- Click Create
Step 2: Write the Template
Section titled “Step 2: Write the Template”<div class="p-8 bg-base-100"> <h1 class="text-2xl font-bold text-base-content mb-4">{{ message }}</h1> <button @click="greet" class="btn btn-primary">Say Hello</button></div>Step 3: Write the Script
Section titled “Step 3: Write the Script”const message = ref('Welcome to my app!');
function greet() { message.value = 'Hello from CoCoCo!';}
const setupReturn = { message, greet };Step 4: Preview and publish
Section titled “Step 4: Preview and publish”- Click Preview to open a live test panel
- Click the button — the message should change
- Click Publish to make the app available
- Find it in the left sidebar