Setup

@wix/portfolio

To use the Projects API, install the @wix/portfolio package.

Install the package

To install the package, follow the instructions below based on your development environment.

Wix sites and Blocks apps

When developing with:

Copy

or

Copy

Wix apps and Headless

When developing CLI or self-hosted Wix apps, as well as headless apps or sites, run the following command:

Copy

or

Copy

Import the package

To import the package in your code:

Copy
Did this help?