您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

development.md 712B

Development

From the root folder:

  • Run yarn to install dependencies.

  • Run yarn start to start the development server for the package and for the example.

  • Open localhost:5420 to view the example project.

Note: The multiplayer examples and endpoints currently require an API key from Liveblocks, however the storage services that are used in TLDraw are currently in alpha and (as of November 2021) not accessible to the general public. You won’t be able to authenticate and run these parts of the project.

Other scripts:

  • Run yarn test to execute unit tests via Jest.

  • Run yarn docs to build the docs via ts-doc.