1 minute to read
previewSite
About This Task
Note
|
This task has now been deprecated. |
When you use a build in a static site generator through generateSite
, most site themes don’t need the static site server for general content. You can just preview the site by opening from the file system in your browser.
However, some JavaScript features will not work because of CORS restrictions. In that case you need a server. You can start one by running e.g. python -m http.server
or in case you have Python 3 python3 -m http.server
.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.