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