Introduction
To use the site module, import wixSiteFrontend
from the wix-site-frontend
module:
javascript | Copy Codeimport wixSiteFrontend from 'wix-site-frontend';
The APIs in wix-site-frontend
can only be used in front-end code.
Was this helpful?