The Wix CLI for Headless is a tool for creating and deploying Wix Headless projects through commands in the terminal. The CLI simplifies Headless project development by automatically generating a complete project structure, featuring a frontend integrated with Wix's backend services. The CLI takes care of the initial setup and configuration, so you can focus on building the unique features of your site. The CLI provides:
Note: We're actively working on improving the Wix CLI for Headless, adding features, and providing comprehensive documentation. Help us improve the CLI by providing feedback and suggestions. You can join our community of Wix App developers on Discord.
Wix CLI for Headless projects are pre-configured to integrate Astro with Wix. This lets you concentrate on building your frontend while the integration takes care of connecting to Wix's platform behind the scenes.
The main features of the Wix integration for Astro include:
The CLI generates the code for an Astro site when you create your project, so you can begin developing immediately. You can choose from a range of templates for your starting Astro site.
Scaling, resource allocation, and maintenance are fully managed for you, so you don't have to worry about infrastructure.
The main features of serverless hosting include:
The CLI automatically creates a private Wix app when you create your project. This private app serves two main purposes:
The CLI provides a local development environment for previewing Headless projects and app extensions in real-time.
The environment is set up for hot reloading, so any changes you make to your code are immediately reflected in the browser.
You can also create shareable project previews for collaboration.