To use the site module, import wixSiteFrontend より @wix/site-site モジュールである:
wixSiteFrontend
@wix/site-site
1
The APIs in @wix/site-site can only be used in front-end code.