This repository has been archived on 2025-01-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
yiershi_home/docs/tutorial-basics/deploy-your-site.md
李东云 2b9a039cd9 init
2022-05-19 17:38:38 +08:00

678 B

sidebar_position
sidebar_position
5

Deploy your site

Docusaurus is a static-site-generator (also called Jamstack).

It builds your site as simple static HTML, JavaScript and CSS files.

Build your site

Build your site for production:

npm run build

The static files are generated in the build folder.

Deploy your site

Test your production build locally:

npm run serve

The build folder is now served at http://localhost:3000/.

You can now deploy the build folder almost anywhere easily, for free or very small cost (read the Deployment Guide).