js/commands/preview

js/commands/preview.ts

fino:commands/preview — reusable fino preview command task.

The command opens the built-in component catalog in a terminal by default. Pass a module that default-exports PreviewGroup[] to inspect application components, or use --html for the live server-driven browser runner.

fino preview
fino preview ./previews.ts
fino preview --html --port 4000

Constants

const command

The preview subcommand mounted by the root Fino CLI.