This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Haleem Ul Hassan
Posted Dec 17 - Read on Facebook

Hello guys. Another freshie at Framer. Im using framer.js(not Studio), and want to include external JS libraries to work with this library. In this case Im trying to use Framer with Paper.js. So I searched around for any solution for such a basic need, and most of the answers suggested creating a Framer layer, adding a div/canvas to it, and then using querySelector on that layer to setup the library. Im attaching a screenshot here, of the error I get, as well as my coffeescript code.The commented out code is some other ways i tried to get it to work, to no avail. Can anyone please tell me the reason for the error here. Any help would be appreciated.

3 Comments

Haleem Ul Hassan

Also tried adding html to the layer separately from the rest of its properties. But to no avail :(

Haleem Ul Hassan

Ee Venn Soh Please have a look

Joseph Reni

did you try following the npm instructions in the docs?

Read the entire post on Facebook