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

What is Framer? Join the Community
Return to index
Charlie Sneath
Posted Apr 29 - Read on Facebook

Do modules need to be in top-level /modules folder? Or can they be included when they're in other folders like /modules/project-name?

My syntax of:

module = require("project/module").functionName

isn't working.

3 Comments

Jordan Robert Dobson

I swore that worked at one point. It was either Eelco or Niels that implemented it.

Charlie Sneath

excellent, thanks guys -- turns out the issue was that I still had the "myModules.coffee" file in addition to my new folder. this seems to have been confusing Framer but everything working as expected now.

Read the entire post on Facebook