github likec4/likec4 v1.26.0

latest release: v1.26.1
one day ago

This release marks a huge first step in simplifying LikeC4 integration with any Vite-based application.

🚀 Features

  • 🔌 Vite Plugin

    The new Vite plugin allows you to embed LikeC4 views directly into your application or documentation website.
    Configure:

    import { defineConfig } from 'vite'
    import react from '@vitejs/plugin-react'
    import { LikeC4VitePlugin } from 'likec4/vite-plugin'
    
    export default defineConfig({
      plugins: [
        react(),
        LikeC4VitePlugin({}),
      ],
    })

    Use:

    import { StrictMode } from 'react'
    import { createRoot } from 'react-dom/client'
    import { LikeC4View } from 'likec4:react'
    
    createRoot(document.getElementById('root')!).render(
      <StrictMode>
        <LikeC4View viewId='index' />
      </StrictMode>
    )

    📖 Read the documentation

  • 📂 Multi-Project Workspaces

    This release adds multi-project support in both the CLI and VS Code.
    Simply create a likec4.config.json file in a folder, and it will be recognized as a LikeC4 project.

    📖 Learn more

  • llms.txt support
    Thanks to @simonwfarrow for suggesting this in #1683.
    likec4.dev now provides:

    Read more about llms.txt

Don't miss a new likec4 release

NewReleases is sending notifications on new releases.