Introduction

To use the site module, import wixSiteFrontend from the wix-site-frontend module:

Copy
import wixSiteFrontend from "wix-site-frontend";

The APIs in wix-site-frontend can only be used in front-end code.

Did this help?