cb烧鸡中 https://soatori.com This website is built using Docusaurus 2, a modern static website generator.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Using SSH:
$ USE_SSH=true yarn deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
[INFO] Creating new Docusaurus project... [INFO] Installing dependencies with npm... npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated trim@0.0.1: Use String.prototype.trim() instead
added 1100 packages, and audited 1101 packages in 3m
203 packages are looking for funding
run npm fund for details
22 vulnerabilities (4 moderate, 18 high)
To address issues that do not require attention, run: npm audit fix
Some issues need review, and may require choosing a different dependency.
Run npm audit for details.
[SUCCESS] Created website.
[INFO] Inside that directory, you can run several commands:
npm start
Starts the development server.
npm run build
Bundles your website into static files for production.
npm run serve
Serves the built website locally.
npm deploy
Publishes the website to GitHub pages.
We recommend that you begin by typing:
cd website
npm start
Happy building awesome websites!