A Wix CLI App has the following file structure:
Note: Some of these files and directories will not exist when you initially create your app. They are created when you build your app.
Contains configuration and log files related to the Wix environment.
This is internal data. Don't edit it.
Contains a distributable version of the app. This directory and its contents are created automatically from your local project files when you build your app.
Don't edit the files in this directory.
Source directory. It contains all the source code and core resources of your application.
Contains subdirectories for each of your app's dashboard extensions.
For more information, see About CLI App Extensions
Contains subdirectories for each of your app's site extensions.
For more information, see About CLI App Extensions
TypeScript declaration file for environment variables.
Don't edit this file.
Contains the version of Node.js that this project uses. Use the nvm use
command to switch to this defined version using Node Version Manager (NVM).
Holds various metadata relevant to the project. It manages the project's dependencies, scripts, and more.
Configuration for the TypeScript compiler.
Defines basic information about your app, including appId
and projectId
. The appId
is the same as your app ID in your app's dashboard, as shown here: