To use the Projects API, install the @wix/portfolio package using npm or Yarn:
@wix/portfolio
or
Then import { projects } from @wix/portfolio:
{ projects }