To use the window module, import wixWindowFrontend より @wix/site-window モジュールである:
wixWindowFrontend
@wix/site-window
1
The APIs in @wix/site-window can only be used in front-end code.
Learn more about @wix/site-window in Getting Started and on Wix Learn.