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

What is Framer? Join the Community
Return to index
Sigurd Tapio Mannsåker
Posted Apr 05 - Read on Facebook

Hi guys, quick question regarding modules: I tried doing require('MyModuleKit/SomeModule'), without success. I was hoping that I would be able to organize my modules into folders to avoid name conflicts etc. Maybe I'm doing it wrong – is there some other way to do this in Framer?

I'm working on a small suite of niche modules for a project, so I want to avoid cluttering my modules folder. My plan B is to add a common prefix to the module names to keep it under control, but a folder would have been tidier.

1 Comments

Ben Rodenhäuser

As far as I know, all your modules have to live in the "modules" folder, with no subfolders allowed.

Read the entire post on Facebook