Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 818 Bytes

development.md

File metadata and controls

25 lines (16 loc) · 818 Bytes

Development Guid

Before this part, make sure you have read getting start

How to preview

  1. run clone [email protected]:ant-design/antd-sketchapp.git in cli
  2. run npm i in cli
  3. run npm run watch in cli to watch source code changes
  4. run npm run link in cli to link current plugin to specific folder
  5. Now you can find complete sketch-plugin in path /plugin.sketchplugin
  6. Open Sketch.app and find the plugin called 'antd-sketchapp'
  7. Have fun 😁

Demo's source path:

  • manifest: /src/manifest.json
  • entry: /src/demo.js

Plug-in development aids

  • SKPM:Sketch Plugin Manager
  • Sketch Devtools: See your plugin logs, inspect the state of Sketch documents, explore actions, and more