PavelLaptev / JSON-to-Figma

An easy way to populate Figma layers with JSON
MIT License
142 stars 40 forks source link

Cannot load json from Github #45

Closed StefanIvanov closed 2 years ago

StefanIvanov commented 2 years ago

Hi, I tried loading the content from a json file I have on github and it didn't work, then I tried the sample json files from the docs here http://github.com/PavelLaptev/JSON-to-Figma/tree/master/json-test-files and they also return an error in the plugin. Any idea what is failing?

Screenshot 2022-07-13 at 16 04 44
StefanIvanov commented 2 years ago

I figured it out, using a url like this instead works: https://raw.githubusercontent.com/organisation/repository/branch/path/file.json