> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: CLI App Structure ## Article: CLI App Structure ## Article Link: https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/get-started/cli-app-structure.md ## Article Content: # CLI App Structure
**Deprecated** The Wix CLI for Apps is deprecated and no longer receives updates or new features. New projects should use the unified [Wix CLI](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli.md). [Determine which CLI your project uses](https://dev.wix.com/docs/wix-cli/guides/development/determine-which-cli-your-project-uses.md).A Wix CLI App has the following file structure: ```tsx . └──
__Caution:__ This directory contains internal data. Don't edit it.## dist/ 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](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/app-development/build-and-deploy-an-app-with-the-cli.md). Don't edit the files in this directory. ## src/ Source directory. It contains all the source code and core resources of your application. ### dashboard/ Contains subdirectories for each of your app's dashboard extensions. For more information, see [About CLI App Extensions](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/supported-extensions/about-cli-app-extensions.md) ### site/ Contains subdirectories for each of your app's site extensions. For more information, see [About CLI App Extensions](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/supported-extensions/about-cli-app-extensions.md) ### backend/ Contains subdirectories for each of your app's backend extensions. For more information, see [About CLI App Extensions](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/supported-extensions/about-cli-app-extensions.md) ### assets/ A directory for storing static assets such as images and media files. During the `build` process, the contents of this directory are renamed and copied to the `dist` directory. To reference files from this directory in `.json` configuration files, use relative paths. For example, `{ "myImagePath": "../../assets/my-image.svg" }`. Likewise, to import files from this directory into your source code, use relative paths. For example, `import myImage from "../../assets/my-image.svg";`. #### env.t.ds TypeScript declaration file for environment variables. Don't edit this file. #### .nvmrc 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). #### package.json Holds various metadata relevant to the project. It manages the project's dependencies, scripts, and more. #### tsconfig.json Configuration for the TypeScript compiler. #### wix.config.json Defines basic information about your app, including `appId` and `projectId`. The `appId` is the same as your app ID in your [app's dashboard](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fhome), as shown here: 