You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
I'm able to export Sketch JSON file, but they don't import anything into Sketch.
I tried using Styled Components, CSS-based, and I even just copied the HTML/CSS/JS from the seek-oss master component page and nothing imports into Sketch (no new libraries under New Symbol).
Here is a link to my example repo. I setup a basic Gatsby project (to generate the static HTML from React components), and use gatsby build to generate HTML from the pages/component.js file (with a list of components, wrapped in divs with data-attributes). Running npm run sketch:build targets the static component HTML file and generates the Sketch JSON into the /sketch/ folder (you can find my exports there).
Not sure how to debug this further since the generated/exported JSON looks accurate, the Sketch plugin just isn't pulling it in correctly. Not sure if this should be in the html-sketchapp repo in that case? I can definitely cross-post this there as well.
Process
Generate Sketch JSON (either from custom HTML or seek-oss boilerplate).
Hey, saw Mark's talk featured at React Amsterdam and was psyched to try this.
I'm able to export Sketch JSON file, but they don't import anything into Sketch.
I tried using Styled Components, CSS-based, and I even just copied the HTML/CSS/JS from the seek-oss master component page and nothing imports into Sketch (no new libraries under New Symbol).
Here is a link to my example repo. I setup a basic Gatsby project (to generate the static HTML from React components), and use
gatsby buildto generate HTML from thepages/component.jsfile (with a list of components, wrapped in divs with data-attributes). Runningnpm run sketch:buildtargets the static component HTML file and generates the Sketch JSON into the/sketch/folder (you can find my exports there).Not sure how to debug this further since the generated/exported JSON looks accurate, the Sketch plugin just isn't pulling it in correctly. Not sure if this should be in the html-sketchapp repo in that case? I can definitely cross-post this there as well.
Process
Specs