skeletal-ui init
Interactive setup wizard. Creates skeletal.config.ts in your project root.
npx skeletal-ui initWhat it does
- Asks for your dev server URL (default:
http://localhost:3000) - Asks which routes to crawl
- Detects your framework (Next.js or Vite) and suggests the right plugin setup
- Writes
skeletal.config.ts - Prints next steps including the Playwright install command
Output
// skeletal.config.ts
import { defineConfig } from 'skeletal-ui'
export default defineConfig({
devServer: 'http://localhost:3000',
routes: ['/', '/dashboard'],
})See Configuration for all available options.