Setup

To use the Site API, install the @wix/urls package using npm or Yarn:

Copy

or

Copy

Then import { site } from @wix/urls:

Copy
Did this help?