npm i -g static-websiteTo create a new project run the next command:
swc new <dir>It will ask you some questions.
If you want to init a static website in an existing project run the next command:
swc initIt also will ask you some questions.
It is very convenient to develop and see what happens in real time:
swc serveThe command will be automatically rebuilding a project when there are some changes and serve the result using HTTP.
To build static website run the next command inside the project:
swc buildDirectory dist will be created with static files inside.