Docs

\

Cli

|

CLI

Command Line Interface to bootstrap Foundation UI applications with pre-configured templates.


Quick Start

Run following commands to bootstrap @usefui apps:

# Create a new React app pnpx @usefui/create-fui-app my-app --template react # Create a new Next.js app pnpx @usefui/create-fui-app my-app --template nextjs # Create a new Next.js docs site pnpx @usefui/create-fui-app my-app --template nextjs-docs # Interactive mode (choose template) pnpx @usefui/create-fui-app my-app

Example

This example shows basic usage of the create-fui-app CLI.

Setup NextJS App

-Run the CLI with your desired template

-Navigate to your project directory

-Install dependencies and start development

pnpx @usefui/create-fui-app my-nextjs-app --template nextjs cd my-nextjs-app pnpm install && pnpm dev

Built by nnsncl at Foundation UI. The source code is available on Github.