create-dovite
v2.5.0
Published
Scaffold Domo pro-code (custom) apps with Vite, React or Vue (JS/TS), Tailwind CSS v4, shadcn/ui and ryuu.js — with CLAUDE.md context for AI-assisted development.
Maintainers
Readme
create-dovite
create-dovite is a CLI that jumpstarts Domo Custom Apps (pro-code apps). It combines the speed of Vite with Tailwind CSS v4, shadcn/ui components and a ready-made Domo integration (ryuu.js API layer + local dev proxy), so you go from zero to a running Domo app in minutes.
Features
- ⚡️ Vite for fast development
- ⚛️ React and Vue support
- 📘 TypeScript and JavaScript support
- 🎨 Tailwind CSS v4
- 🎯 shadcn/ui (React) / shadcn-vue (Vue) components
- 🔄 Domo integration: one
src/API/domoApifile for datasets, SQL, AppDB, files, Domo AI, workflows and Code Engine - 🔌 Local dev proxy (
@domoinc/ryuu-proxy) so Domo calls work onlocalhost - 🤖 AI-agent ready:
AGENTS.md,CLAUDE.mdand 7 Domo skills (.claude/skills/) in every project — Claude Code, Cursor, Codex and Antigravity learn Domo, plan the architecture, recommend Code Engine / Data API / AppDB where it fits, then build - 🧰 Your choice of npm, yarn or pnpm, optional Redux Toolkit (React) / Pinia (Vue), and optional hash routing (react-router / vue-router)
- 📦
uploadscript bumps the manifest version (0.0.1 → … → 0.0.9 → 0.1.0 …), builds, publishes to Domo, rolls back on failure and saves the design id
Prerequisites
Requires the Domo CLI (
ryuu) and the package manager you choose (npm, yarn or pnpm).
npm install -g ryuu- Node.js 20.19+ (required by Vite 8)
Usage
npm create dovite@latest my-app
# or
yarn create dovite my-app
# or
pnpm create dovite my-appYou'll be asked for the template, package manager, state management and routing. Or pass flags:
npx create-dovite my-app -t react-ts --pm pnpm --store --router| Flag | Values | Default |
| --- | --- | --- |
| -t, --template | react-js, react-ts, vue-js, vue-ts | asked |
| --pm | npm, yarn, pnpm | the one you ran create-dovite with |
| --store / --no-store | Redux Toolkit (React) / Pinia (Vue) | no |
| --router / --no-router | hash routing (react-router / vue-router) | no |
| -y, --yes | accept defaults for anything not passed | |
Then (shown with npm; use yarn … / pnpm … if you chose those):
cd my-app
domo login # once per instance
npm run dev # local dev with the Domo proxy
npm run upload # bump manifest version, build, domo publishupload bumps version in public/manifest.json (patch +1; patch and minor roll over after 9: 0.0.9 → 0.1.0, 0.9.9 → 1.0.0), restores it if the build or publish fails, and after the first publish copies the design id into public/manifest.json for you. Use npm run upload -- --no-bump to republish the same version or -- --dry-run to preview the next one.
What you get
public/manifest.json Domo app manifest (datasets, AppDB, workflows, Code Engine)
src/API/domoApi.(js|ts) All Domo API calls in one place
src/API/currentUserContext.* Current Domo user (React context / Vue composable)
src/pages/index.* Starter landing page
vite.config.* Tailwind + ryuu-proxy + "@" alias
scripts/upload.mjs Version bump + build + publish
src/store/ | src/stores/ Redux Toolkit / Pinia (optional)
src/router.* | src/router/ Hash routing (optional)
AGENTS.md / CLAUDE.md Instructions for AI coding agents
.claude/skills/ Domo skills (planning, pro-code apps, APIs, Code Engine, embed, credits)What's new in 2.4.0
- Choose npm, yarn or pnpm; optional Redux Toolkit / Pinia; optional hash routing; new CLI flags (
--pm,--store,--router,-y) uploadauto-bumps the manifest version, rolls back on failure and saves the design idmain/Appnow wire the current-user provider automatically- Domo agent skills (
domo-skills/) copied into every project's.claude/skills/, plusAGENTS.mdfor Cursor / Codex / Antigravity; agents plan and recommend (Code Engine, Data API vs SQL for embeds, AppDB, Workflows…) before building - New
queryData(page-filter aware Data API),onDataUpdated,onFiltersUpdated; manifest getsfullpageand device-permission flags - Domo rules for agents: SQL API = one dataset per call (no JOINs, subqueries OK), Domo times are UTC, AppDB uses MongoDB query syntax
What's new in 2.3.0
- Fixed React TS build errors with current create-vite (TypeScript 7 / Vite 8): removed
baseUrl, manifest read without JSON import,ryuu.jsv6 built-in types dataApi+domoAPImerged into a singledomoApifile; addedstartWorkflow,runCodeEngine,navigate,getEnv; URL-encoding and error handling fixed- Removed browser-side
api.domo.comclient-credential helpers (exposed secrets) — use Code Engine instead - Keeps create-vite's own
build/lintscripts; Vue templates no longer get a brokeneslintscript - Vue: removed global CSS that overrode Tailwind utilities
--templateflag, project-name validation,git init -b mainCLAUDE.md/.claudeignore/.claude/settings.jsonin every template
Domo resources
Inspirations
Roadmap
- Angular templates (JS / TS)
License
MIT
