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

What is Framer? Join the Community
Return to index
Paul Klinski
Posted Jan 20 - Read on Facebook

Hey Framers,

I got a problem, maybe someone can help me.
I need to write a quiet big amount of code ~ 5.000 lines. Is there the possibility to write in multiply scripts and link them, like an import?

Thank you guys for support :)

1 Comments

Radek Kyselý

Save the other .coffee files in your prototype's "modules" folder and import them into your project with

require "nameOfTheFile" # Make sure to exclude .coffee extension

But I'd probably use Framer's Folding feature (select a piece of code and press Cmd+Enter) :)

Read the entire post on Facebook