Skip to content

cdaein/sketch-wrapper-starter-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setkch-wrapper-start-js

This repository contains the minimal example and the bundler setup (with Vitejs) to work as a starter code for using sketch-wrapper.

Check out the sketch-wrapper repository for more information on what settings and props you can use and how to save image and video of your canvas, etc.

How To

  1. First, download or clone this repo into your computer. (In Github, you can click on Use This Template button.)
  2. In your Command Line (Terminal) app, cd into the downloaded directory.
  3. Run npm install. You will need to have Node.js installed on your computer.
  4. Run npm start to start the local server.
  5. Go to the local address printed on your console to see the result. The default is http://localhost:5173/.
  6. Open the directory in your code editor (ie. VS Code)
  7. Start making code changes in the src/index.js file.
  8. When you are ready to build the project, run npm run build.

License

MIT