This guide explains the minimum steps required to get a CLI app up and running using the Wix CLI.
Before getting started, make sure that you:
Run the following command to create a new app project:
When asked what you would like to do, select Create a new Wix App.
Enter a name for your app and a folder name for your project.
Once the CLI has created your app, the app's files appear in a local directory with the folder name you chose.
Your app appears in the app dashboard but isn't yet installed on a development site.
Run the dev command to start the local development environment.
Select a site to install your app on for testing:
Press Enter to open your browser and install the application on your test site.
The CLI builds a local environment for your test site and provides a menu to view your app's dashboard pages in the browser.
The development environment is set up for hot reloading, so any changes you make to your code are immediately reflected in the browser.
After completing the above steps, you have a simple Wix app that you can experiment with and test locally.
You can now: