Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 666 Bytes

README.md

File metadata and controls

34 lines (19 loc) · 666 Bytes

Repo for Cocos Creator User Manual

Install Node Modules

npm install

Generate Sidebar

node ./scripts/create-sidebar.js versions/3.8/zh/SUMMARY.md

node ./scripts/create-sidebar.js versions/3.8/en/SUMMARY.md

Run In Dev Mode

npx vitepress dev versions/3.8

Build

node ./scripts/publish.js --version=versions/3.8

Build All

node ./scripts/publish.js --version=versions/all

Preview

npx vitepress preview versions/3.8

Change the '3.8' above to operate another version.