static-website
v2.2.5
Published
Create a static multilingual website
Downloads
93
Readme
Static multilingual website generator
Installation
npm i -g static-website
New project
To create a new project run the next command:
swc new <dir>
It will ask you some questions.
Initialization
If you want to init a static website in an existing project run the next command:
swc init
It also will ask you some questions.
Serve
It is very convenient to develop and see what happens in real time:
swc serve
The command will be automatically rebuilding a project when there are some changes and serve the result using HTTP.
Build
To build static website run the next command inside the project:
swc build
Directory dist
will be created with static files inside.