Start with Crane app
Create Your Application
npx @lightspeed/crane@latest init --app my-app
cd my-appProject Structure
my-app/
├── crane.config.json # Application credentials
├── package.json # Node.js dependencies
├── sections/ # Custom sections
│ └── example-section/ # Default example section
├── headers/ # Custom header components
├── footers/ # Custom footer components
├── preview/ # Local development preview server
│ ├── sections/ # Section preview setup
│ ├── shared/ # Shared preview utilities
│ ├── ssr-server.ts # SSR server for local testing
│ └── vite.config.js # Vite configuration for preview
├── shared/ # Shared components and utilities
└── dist/ # Built output (generated)Configure Credentials
Build
Preview Locally
Deploy
Summary
Next Steps
Last updated
Was this helpful?
