Search KetJS

Search titles, descriptions, and section headings.

    Diagram

    100%
    Drag to pan · Scroll or pinch to zoom · + / − to zoom · Arrow keys to pan · 0 to fit · 1 to reset
    ← All examples

    EXAMPLES

    Static site with islands

    Build plain HTML, CSS, and JavaScript with optional interactive islands and no application server.

    Scaffold the site#

    # Run from: /path/to/projects
    npm create @ketvietlab/view@latest my-site
    cd my-site
    npm install
    npm run dev

    Build the output#

    # Run from: /path/to/projects/my-site
    npm run build

    Deploy the generated dist/ directory on a static host. Ordinary page content stays marker-free; explicit islands receive their client runtime.

    Read static sites for pages, assets, islands, development, and preview.