Wix Blocks: Setting Wix App Dependencies
2 min read
The full version of Wix Blocks for building web applications, including Velo Packages and user interface, is open for Wix Studio users.
When you create a Blocks app, your code may require that the user who installs the app on their site also installs specific Wix apps. This is called a Wix App Dependency. For example, your app may require that the site include Wix Stores.
When a user installs a Blocks app with an app dependency, they receive a notification that they need to install one or more apps for the app to be useable.
Adding an App Dependency
To set app dependencies:
- Either
- Click Wix App Dependencies from the Project menu
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/57e9f77c-6d15-498d-ac4e-c4d09bf3a490/2021/04/11/3954f6bd-558f-4df9-98dd-8d7c13f2c4be/8590d69b-72ee-4f54-a91a-d137060c350a.png)
b. Click Add App Dependencies in the WIX APP DEPENDENCIES section of the Code Files panel.
2. Click Select Dependencies on the Wix App Dependencies panel.
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/57e9f77c-6d15-498d-ac4e-c4d09bf3a490/2021/04/11/5388dd85-72e8-499b-98c9-37f06fe972b0/132e5420-ccdd-44ae-8ac5-043b78e6133f.png)
2. Click the
next to the app you want to add.
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/57e9f77c-6d15-498d-ac4e-c4d09bf3a490/2021/04/11/af71bfbe-6774-4ee5-863e-5884b64fc151/7109f9aa-d9c3-474f-ab79-fc3485e8283b.png)
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/57e9f77c-6d15-498d-ac4e-c4d09bf3a490/2021/04/11/a5f0c400-8947-492b-bf34-92ae81e8b728/60621cf3-de96-4b9d-8fab-a0fbb55962ca.png)
3. Click Add Dependency to add another dependency.
![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/57e9f77c-6d15-498d-ac4e-c4d09bf3a490/2021/04/11/98a5fdf4-dcb6-437a-bb7b-0c09d8f96bd4/d38e5055-69bd-4a37-a701-995349a4f774.png)
Removing an App Dependency
- Select Remove Dependency from the more menu of the dependency in the WIX APP DEPENDENCIES section of the Code Files panel.
Did this help?
|