Back to React Sketchapp

Basic SVG example

examples/basic-svg/README.md

3.2.2880 B
Original Source

Basic SVG example

How to use

Download the example or clone the repo:

bash
curl https://codeload.github.com/airbnb/react-sketchapp/tar.gz/master | tar -xz --strip=2 react-sketchapp-master/examples/basic-svg
cd basic-svg

Install the dependencies

bash
npm install

Run with live reloading in Sketch, need a new sketch doc open

bash
npm run render

Or, to install as a Sketch plugin:

bash
npm run build
npm run link-plugin

Then, open Sketch and navigate to Plugins → react-sketchapp: Basic SVG Example

The idea behind the example

skpm is the easiest way to build react-sketchapp projects - this is a minimal example of it in use.