Demo App
1. Design your App using Sketch and Presto Panel
Download demo app sketch file to get started.
2. Autogenerate Code
mkdir sampleApp
cd sampleApp
npm init
npm i presto-ui-generator
unzip ~/Downloads/prestoDemoApp.zip -d ~/Downloads/
cp -R ~/Downloads/prestoDemoApp/ .
node ./node_modules/presto-ui-generator/index.js -n generatedApp -p . --run
Open http://localhost:8080/dist/ in your browser to preview app.
3. Modifying Sketch Design
As you make the changes in your sketch file, generated app is hot reloaded in your browser. You can preview the changes in realtime.