Deep dive into Crane CLI
Prerequisites
Installation
npm install vite vue @lightspeed/crane@latest @lightspeed/eslint-config-crane@latestCommands
Initialize a New Application
Create a New Section
Create a new template
Build the Application
Preview Locally
Deploy to Lightspeed
Get Help
Configuration
crane.config.json
Complete Workflow Example
1. Create Application
2. Add Custom Templates
3. Add Custom Sections (Optional)
4. Configure Credentials
5. Develop and Preview
6. Deploy
Troubleshooting
Build Failures
HTTP 401 Error During Deployment
HTTP 403 Error During Deployment
Preview Not Working
Use Crane CLI in your project
Last updated
Was this helpful?
