🚀 Features
-
Image alias support
In your config{ "name": "project-name", "imageAliases": { "@": "./images", "@root": "../../some-more-images" } }
In your DSL
model { serviceA = service { icon: @/service-a.png } serviceB = service { icon: @root/service-b.png } }
Thanks to @kieronlanning, #2174, c05d300)
-
Custom generators
Use TypeScript/JavaScript as project config// likec4.config.ts import { defineConfig } from '@likec4/config' export default defineConfig({ name: 'my-project', title: 'My Project', generators: { 'hello': async ({ likec4model, ctx }) => { // do something }, }, })
Use with CLI:
likec4 gen hello
-
mcp: search for elements with metadata key (0a0eed6f)
-
config: published config schema
{ "$schema": "https://likec4.dev/schemas/config.json", "name": "project-name" }